diff options
author | HeungJun Kim <[email protected]> | 2011-12-12 08:04:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2011-12-30 14:33:09 -0200 |
commit | 575d6252a715c599964ec6ec06428e6362c0633e (patch) | |
tree | 1cd45c589f0e7b5824fc92748cda4e3abb141a63 /lib/syscall.c | |
parent | 69eb18032017082bb1c54236290c7e3578e0a3d3 (diff) |
[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 <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions