]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitf8bca4f52947f0d6c10299b10e4ccf5711688acc
treead78913fe4e4be08f1008f9493e87fb9c7739e01
parent8d274e7c0a111e91a7a3f25877af8103ddf05261
[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