Skip to content

Commit

Permalink
[media] cx23885: restore flushes of cx23885_dev work items
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
htejun authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 061d55e commit 4bbcd84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/media/video/cx23885/cx23885-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4bbcd84

Please sign in to comment.