Skip to content

Commit

Permalink
[media] ivtv: ivtv-driver: Replace 'flush_work_sync()'
Browse files Browse the repository at this point in the history
Since commit 4382973 (workqueue: deprecate flush[_delayed]_work_sync()),
flush_work() should be used instead of flush_work_sync().

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Fabio Estevam authored and Mauro Carvalho Chehab committed Dec 20, 2012
1 parent b391b0e commit 4bb891e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/pci/ivtv/ivtv-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static void 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
#define request_modules(dev)
Expand Down

0 comments on commit 4bb891e

Please sign in to comment.