upstream: [media] si4713: Modified i2c driver to handle cases where interrupts are...
authorDinesh Ram <Dinesh.Ram@cern.ch>
Tue, 15 Oct 2013 15:24:38 +0000 (12:24 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:52:37 +0000 (11:52 +0900)
commit3efbfd273fe1a808a5bf0d9566c001302a9d9972
tree12eba537be3166cbc3f20a716eb5c95a4582704e
parent959ac72c9123c92dc90dde5e3e140c90df637846
upstream: [media] si4713: Modified i2c driver to handle cases where interrupts are not used

Checks have been introduced at several places in the code to test if an
interrupt is set or not. For devices which do not use the interrupt, to
get a valid response, within a specified timeout, the device is polled
instead.

Signed-off-by: Dinesh Ram <dinesh.ram@cern.ch>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Eduardo Valentin <edubezval@gmail.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/radio/si4713/si4713.c