]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] ivtv: ivtv-driver: Replace 'flush_work_sync()'
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 24 Oct 2012 11:14:16 +0000 (08:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Dec 2012 17:22:30 +0000 (15:22 -0200)
Since commit 43829731d (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>
drivers/media/pci/ivtv/ivtv-driver.c

index 74e9a503236432b8c606ebfed56e87bca1fca10d..5d0a5df610782ee52b7f21246f79d9248a683b06 100644 (file)
@@ -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)