commit | 5f272644464bfb8cf8cec958cfc06020283c2f14 | [log] [tgz] |
---|---|---|
author | Andy Walls <awalls@md.metrocast.net> | Sun Jul 18 17:16:16 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sun Aug 08 23:42:54 2010 -0300 |
tree | 5ff0dacd50271a6998fe23b22ef53068fee1653f | |
parent | 18a87becf85d50e7f3d547f1b7a75108b151374d [diff] |
V4L/DVB: cx25840: Make cx25840 i2c register read transactions atomic There was a small window between writing the cx25840 register address over the i2c bus and reading the register contents back from the cx25840 device that the i2c adapter lock was released. This change ensures the adapter lock is not released until the register read is done. Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>