OSDN Git Service

[media] v4l: omap3isp: use vb2_buffer_state enum for vb2 buffer state
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Wed, 25 Feb 2015 15:58:14 +0000 (12:58 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 10:28:15 +0000 (08:28 -0200)
commit18ba53f532f2813cb2b278b662c0bb9b7f0295b5
treebdde7f6f4ee0d00fc15a778e733299a713e475eb
parent87e062d4a93f1d78bd765256c826c338f7a0e921
[media] v4l: omap3isp: use vb2_buffer_state enum for vb2 buffer state

use the vb2_buffer_state enum for assigning the state
of the vb2 buffer, along side making isp_pipeline_state
state variable local to the block.
This fixes the following sparse warning as well:
drivers/media/platform/omap3isp/ispvideo.c:497:35: warning: mixing different enum types
drivers/media/platform/omap3isp/ispvideo.c:497:35:     int enum isp_pipeline_state  versus
drivers/media/platform/omap3isp/ispvideo.c:497:35:     int enum vb2_buffer_state

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