summaryrefslogtreecommitdiff
path: root/drivers/media/video/mxc
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2010-02-03 13:31:43 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-24 11:50:07 +0200
commita1dd0445fe9edd86b958023560f281cd05892550 (patch)
treec5dc90636aa67c1ec375b602dbb04aa7d45f115f /drivers/media/video/mxc
parentbf330519fffa3401c90c809caf56df05fee30dcd (diff)
ENGR00120507 v4l2 output: fix dqueue fail for ic_bypass mode
if dqueue buffer before the third frame queue, dqueue will failed. Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'drivers/media/video/mxc')
-rw-r--r--drivers/media/video/mxc/output/mxc_v4l2_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/mxc/output/mxc_v4l2_output.c b/drivers/media/video/mxc/output/mxc_v4l2_output.c
index 47c4bd1e7769..91205bed04de 100644
--- a/drivers/media/video/mxc/output/mxc_v4l2_output.c
+++ b/drivers/media/video/mxc/output/mxc_v4l2_output.c
@@ -329,6 +329,7 @@ static void timer_work_func(struct work_struct *work)
queue_buf(&vout->done_q, last_buf);
vout->ipu_buf[1] = -1;
g_buf_output_cnt = 2;
+ wake_up_interruptible(&vout->v4l_bufq);
if (vout->state == STATE_STREAM_PAUSED) {
index = peek_next_buf(&vout->ready_q);
if (index != -1) {