]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-fimc: Ensure proper s_power() call order in the ISP datapaths
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 20 Nov 2012 11:54:22 +0000 (08:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 31 Mar 2013 14:02:02 +0000 (11:02 -0300)
commit7a0ce1008993aabed2261b9e5e4231bae0afc3f4
treead78913fe4e4be08f1008f9493e87fb9c7739e01
parent7dbf3d6603ea9d149f3a0eb749bc78536a790ea6
[media] s5p-fimc: Ensure proper s_power() call order in the ISP datapaths

Since the FIMC-IS firmware communicates with an image sensor directly
through the ISP I2C bus controllers the sub-devices power supplies
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_power() 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