]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-fimc: Ensure proper s_stream() call order in the ISP datapaths
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 13 Nov 2012 17:35:22 +0000 (14:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 31 Mar 2013 14:01:44 +0000 (11:01 -0300)
commit0030b6d9f68e926187a2b97baece3a8875d34ffb
treeff8c2c861016337dd5eb306e008cf251261bf22d
parent86f2e716a0fd9e3fef6bf882b80470f2cc9718fb
[media] s5p-fimc: Ensure proper s_stream() call order in the ISP datapaths

Since the FIMC-IS firmware communicates with an image sensor directly
through the ISP I2C bus controllers data streaming cannot be simply
enabled from left to right or disabled from right to left along the
processing pipeline. Thus a subdev index to call s_stream() on is
looked up from a table, rather than doing the op call based on
increasing/decreasing indexes.

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-mdevice.c