android_kernel_motorola_sm6225/drivers/media/video/m5mols
HeungJun Kim 575d6252a7 [media] m5mols: Extend the busy wait helper
Make m5mols_busy_wait function jiffies based rather than relying
on some fixed number of I2C read iterations while busy waiting
for the device to execute a request. With fixed number of iterations
we may be getting different wait times, depending on the I2C speed.

In some conditions we have to wait even if the I2C communications
fails, in those cases M5MOLS_I2C_RDY_WAIT_MASK should be passed
as the mask argument to m5mols_busy_wait().

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>
2011-12-30 14:33:09 -02:00
..
Kconfig [media] Add support for M-5MOLS 8 Mega Pixel camera ISP 2011-05-25 07:51:18 -03:00
m5mols.h [media] m5mols: Extend the busy wait helper 2011-12-30 14:33:09 -02:00
m5mols_capture.c [media] Stop using linux/version.h on the remaining video drivers 2011-07-27 17:53:16 -03:00
m5mols_controls.c [media] m5mols: Use proper email address format 2011-06-11 09:46:00 -03:00
m5mols_core.c [media] m5mols: Extend the busy wait helper 2011-12-30 14:33:09 -02:00
m5mols_reg.h [media] m5mols: Simplify the I2C registers definition 2011-12-30 14:16:24 -02:00
Makefile [media] Add support for M-5MOLS 8 Mega Pixel camera ISP 2011-05-25 07:51:18 -03:00