diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-empress.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-empress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-empress.c b/drivers/media/video/saa7134/saa7134-empress.c index b890aafe7d64..6b8459c7728e 100644 --- a/drivers/media/video/saa7134/saa7134-empress.c +++ b/drivers/media/video/saa7134/saa7134-empress.c | |||
@@ -553,7 +553,7 @@ static int empress_fini(struct saa7134_dev *dev) | |||
553 | 553 | ||
554 | if (NULL == dev->empress_dev) | 554 | if (NULL == dev->empress_dev) |
555 | return 0; | 555 | return 0; |
556 | flush_scheduled_work(); | 556 | flush_work_sync(&dev->empress_workqueue); |
557 | video_unregister_device(dev->empress_dev); | 557 | video_unregister_device(dev->empress_dev); |
558 | dev->empress_dev = NULL; | 558 | dev->empress_dev = NULL; |
559 | return 0; | 559 | return 0; |