Browse Source

[media] media: omap3isp: video: drop setting of vb2 buffer state to VB2_BUF_STATE_ACTIVE

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>
Lad, Prabhakar 10 năm trước cách đây
mục cha
commit
13dab904d5

+ 0 - 1
drivers/media/platform/omap3isp/ispvideo.c

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