Commit 4bb891eb authored by Fabio Estevam's avatar Fabio Estevam Committed by Mauro Carvalho Chehab

[media] ivtv: ivtv-driver: Replace 'flush_work_sync()'

Since commit 43829731 (workqueue: deprecate flush[_delayed]_work_sync()),
flush_work() should be used instead of flush_work_sync().
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b391b0ef
...@@ -304,7 +304,7 @@ static void request_modules(struct ivtv *dev) ...@@ -304,7 +304,7 @@ static void request_modules(struct ivtv *dev)
static void flush_request_modules(struct ivtv *dev) static void flush_request_modules(struct ivtv *dev)
{ {
flush_work_sync(&dev->request_module_wk); flush_work(&dev->request_module_wk);
} }
#else #else
#define request_modules(dev) #define request_modules(dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment