diff options
Diffstat (limited to 'isp/omap3isp.c')
-rw-r--r-- | isp/omap3isp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/isp/omap3isp.c b/isp/omap3isp.c index 8db2726..3a75d91 100644 --- a/isp/omap3isp.c +++ b/isp/omap3isp.c @@ -158,15 +158,12 @@ static void omap3_isp_pool_event(struct omap3_isp_pool *pool, return; } - from->dequeued |= 1 << buffer.index; from->queued--; if (from->queued == 0) isp->ops->unwatch_fd(from->video->fd); /* Queue it on the other side */ - to->dequeued &= ~(1 << buffer.index); - if (to->queued == 0) { if (input) isp->ops->watch_fd(to->video->fd, OMAP3_ISP_EVENT_WRITE, @@ -205,9 +202,6 @@ static int omap3_isp_pool_start(struct omap3_isp_pool *pool) /* Queue all buffers for video capture. */ for (i = 0; i < pool->pool->nbufs; ++i) { - if (pool->input->dequeued & (1 << i)) - continue; - buffer.index = i; ret = v4l2_queue_buffer(pool->input->video, &buffer); |