core: add cset_busy helpers
This avoid driver developer to handle with cset flags and locking. It also simplify the driver code. set and clear helpers can be locked; the 'if' statement doesn't slow down the code because the compiler will remove it according to the function argument (only if you pass static value) Signed-off-by: Federico Vaga <federico.vaga@cern.ch> Acked-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment