]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7676): saa7134: fix: Properly handle busy states on i2c bus
authorDmitry Belimov <d.belimov@gmail.com>
Wed, 23 Apr 2008 17:07:09 +0000 (14:07 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:46 +0000 (14:09 -0300)
commite6b44a301c4d03a3c7fd7ec4207b07c94a482891
tree8136da08d833f128a4ebf80c4b781241e2d0bdd5
parent32a70f163aa4930721a0b07b663ec175d5b519d7
V4L/DVB (7676): saa7134: fix: Properly handle busy states on i2c bus

There are two conditions, reported by saa7134 that indicates that the I2C bus
is busy: TO_SCL and TO_ARB.

On both states, it needs to wait for I2C release, before using the bus.

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-i2c.c