In case the completion function failes, unbind will be called
which will call cancel_work for awb_work.
This will trigger a WARN message from the workqueue.
To avoid this, move the INIT_WORK call at the start of the completion
function. This way the work is always initialized, which corresponds
to the 'always canceled' unbind code.
Fixes:
|
||
---|---|---|
.. | ||
atmel-isc-regs.h | ||
atmel-isc.c | ||
atmel-isi.c | ||
atmel-isi.h | ||
Kconfig | ||
Makefile |