[media] cx23885: restore flushes of cx23885_dev work items
authorTejun Heo <tj@kernel.org>
Tue, 15 Feb 2011 09:20:12 +0000 (06:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:18 +0000 (17:52 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-input.c

index e97cafd..1ca6693 100644 (file)
@@ -229,6 +229,9 @@ static void cx23885_input_ir_stop(struct cx23885_dev *dev)
                v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params);
                v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params);
        }
+       flush_work_sync(&dev->cx25840_work);
+       flush_work_sync(&dev->ir_rx_work);
+       flush_work_sync(&dev->ir_tx_work);
 }
 
 static void cx23885_input_ir_close(struct rc_dev *rc)