diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2019-04-12 06:19:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-08 13:56:25 -0400 |
commit | 79199002db5c571e335131856b3ff057ffd9f3c0 (patch) | |
tree | 33ddcf9e7b9b0c9a00bea7d0a3e28c21306f885c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 253ccf34232ae3b47497e5e55aef3ac48821425c (diff) |
media: atmel: atmel-isc: fix INIT_WORK misplacement
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: 93d4a26c3d ("[media] atmel-isc: add the isc pipeline function")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions