summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-15 09:20:12 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 20:52:18 (GMT)
commit4bbcd849b07259211dfe6d3168e669e89bbd19ea (patch)
treef3f6db902f2d8e5eadd7dc2232e88dd8ed2866a2 /drivers/media/video/cx23885
parent061d55eb450102408289599ae79b92322d6126e1 (diff)
downloadlinux-fsl-qoriq-4bbcd849b07259211dfe6d3168e669e89bbd19ea.tar.xz
[media] cx23885: restore flushes of cx23885_dev work items
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r--drivers/media/video/cx23885/cx23885-input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-input.c b/drivers/media/video/cx23885/cx23885-input.c
index e97cafd..1ca6693 100644
--- a/drivers/media/video/cx23885/cx23885-input.c
+++ b/drivers/media/video/cx23885/cx23885-input.c
@@ -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)