V4L/DVB (4915): Saa7146: Add timeout protection for I2C interrupt
authorHartmut Birr <e9hack@googlemail.com>
Wed, 1 Nov 2006 16:01:42 +0000 (13:01 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 11:05:34 +0000 (09:05 -0200)
commit35e55255bbe1775c3cdb5d9cff494d72d5a49bf3
tree20846c296d0d4c7c7335cd5b55a2440e47ef4eed
parent88bbdf74fcfa7ed1fd1a3c825ee5575752344326
V4L/DVB (4915): Saa7146: Add timeout protection for I2C interrupt

Add a timeout to the wait for the i2c-interrupt.
The timeout prevents from endless waiting if the
interrupt gets lost.

Signed-off-by: Hartmut Birr <e9hack@googlemail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/saa7146_i2c.c