]> git.baikalelectronics.ru Git - kernel.git/commit
[media] m5mols: Add support for the system initialization interrupt
authorHeungJun Kim <riverful.kim@samsung.com>
Sat, 3 Dec 2011 14:47:40 +0000 (11:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 16:35:25 +0000 (14:35 -0200)
commita5cbf98159e00e468e49ffbc367a21ea35306a35
tree6913d53af8922eab389ab4e9ceb1a4e00f7e7f50
parent5dbef830bce757585c20384f372d3f4557030dd9
[media] m5mols: Add support for the system initialization interrupt

The M-5MOLS internal controller's initialization time depends on the
hardware and firmware revision. Currently the driver just waits for
worst case time period, after applying the voltage supplies, for
the device to be ready. The M-5MOLS supports "System initialization"
interrupt which is triggered after the controller finished booting.
So use this interrupt to optimize the initialization sequence.

After the voltage supplies are applied the I2C communication will
fail, until the internal controller initializes to Flash Writer
state. For the period when the I2C is not accessible use the
isp_ready flag to suppress the error logs.

Signed-off-by: HeungJun Kim <riverful.kim@samsung.com>
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/video/m5mols/m5mols.h
drivers/media/video/m5mols/m5mols_core.c
drivers/media/video/m5mols/m5mols_reg.h