OSDN Git Service

[media] media: omap3isp: video: drop setting of vb2 buffer state to VB2_BUF_STATE_ACTIVE
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Mon, 23 Feb 2015 20:19:31 +0000 (17:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 19:32:32 +0000 (16:32 -0300)
There isn't a need to assign the state of vb2_buffer to active
as this is already done by the core.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/omap3isp/ispvideo.c

index 89ef31b..3de8d5d 100644 (file)
@@ -524,7 +524,6 @@ struct isp_buffer *omap3isp_video_buffer_next(struct isp_video *video)
 
        buf = list_first_entry(&video->dmaqueue, struct isp_buffer,
                               irqlist);
-       buf->vb.state = VB2_BUF_STATE_ACTIVE;
 
        spin_unlock_irqrestore(&video->irqlock, flags);