[media] au0828-input: Be sure that IR is enabled at polling
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 7 Aug 2014 13:46:30 +0000 (10:46 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:05 +0000 (15:25 -0500)
commit2e0cc7ee75a218ad43b112164e87acb03f0fd9f0
tree5a743e619da7dbda022bf9b988cfc488d8c9a2a7
parentd84fdc774b3beea1a7c601ff6e8d22e6ac13dd01
[media] au0828-input: Be sure that IR is enabled at polling

When the DVB code sets the frontend, it disables the IR
INT, probably due to some hardware bug, as there's no code
there at au8522 frontend that writes on register 0xe0.

Fixing it at au8522 code is hard, as it doesn't know if the
IR is enabled or disabled, and just restoring the value of
register 0xe0 could cause other nasty effects. So, better
to add a hack at au0828-input polling interval to enable int,
if disabled.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-input.c
This page took 0.024912 seconds and 5 git commands to generate.