summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx23885/cx23885-input.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-15 12:20:12 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-28 00:52:18 +0400
commit4bbcd849b07259211dfe6d3168e669e89bbd19ea (patch)
treef3f6db902f2d8e5eadd7dc2232e88dd8ed2866a2 /drivers/media/video/cx23885/cx23885-input.c
parent061d55eb450102408289599ae79b92322d6126e1 (diff)
downloadlinux-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/cx23885-input.c')
-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 e97cafd83984..1ca6693cb5f8 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)