[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)
commit8d274e7c0a111e91a7a3f25877af8103ddf05261
treeff8c2c861016337dd5eb306e008cf251261bf22d
parent3e20c345a6dac13a1545bd748f9d0a6336856ee7
[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