[media] s5p-fimc: Use video entity for marking media pipeline as streaming
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 20 Mar 2013 13:35:43 +0000 (10:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 31 Mar 2013 13:36:49 +0000 (10:36 -0300)
commit95c4a17f79232a61546c7359ede1a5d1042f1b76
tree5d260400cf31c7b6195473397438218ccd184b84
parent99fd133f907afdb430942d8d2ae53faa438adfe8
[media] s5p-fimc: Use video entity for marking media pipeline as streaming

It doesn't matter whether we start from the sensor of from
the video node entity. Remove use of pipeline->subdevs array
where possible, so we can partly drop dependency on struct
fimc_pipeline in the fimc-lite module, which is also used
by the exynos5-is driver.
Also make sure we revert any media entity pipeline operations
when vb2_streamon() function fails.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-fimc/fimc-capture.c
drivers/media/platform/s5p-fimc/fimc-lite.c