]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd974b4af1489896b51f53b75981251b71c728ebf
tree5d260400cf31c7b6195473397438218ccd184b84
parent23ea54f1cb659604235639eb9f4fd41ff27fd165
[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