]> git.karo-electronics.de Git - linux-beck.git/commit
[media] si4713: Modified i2c driver to handle cases where interrupts are not used
authorDinesh Ram <Dinesh.Ram@cern.ch>
Tue, 15 Oct 2013 15:24:38 +0000 (12:24 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 18 Dec 2013 08:35:14 +0000 (06:35 -0200)
commit5173332c1e420d49829bd7e4bc5c83b0205037c5
tree7c6508b8f65df448af2f1f4f019f40b85c31611f
parent7391232e1215b3583de86af6e942aaa5c5c9fa97
[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