mirror of https://gitee.com/openkylin/linux.git
[media] cx23885: restore flushes of cx23885_dev work items
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
061d55eb45
commit
4bbcd849b0
|
@ -229,6 +229,9 @@ static void cx23885_input_ir_stop(struct cx23885_dev *dev)
|
||||||
v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, ¶ms);
|
v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, ¶ms);
|
||||||
v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, ¶ms);
|
v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, ¶ms);
|
||||||
}
|
}
|
||||||
|
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)
|
static void cx23885_input_ir_close(struct rc_dev *rc)
|
||||||
|
|
Loading…
Reference in New Issue