]> git.baikalelectronics.ru Git - kernel.git/commit
[media] rc/nuvoton-cir: enable CIR on w83667hg chip variant
authorJarod Wilson <jarod@redhat.com>
Tue, 12 Apr 2011 16:38:27 +0000 (13:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:27:35 +0000 (09:27 -0300)
commit5841f4b23dbf2a9c4749db9f8e08a7e75783f79a
tree0b24dc25a6575c08ebbf55227cb71e50f803b8a7
parent95bbf90bce7cc2b045d1711a9c4f211266590e29
[media] rc/nuvoton-cir: enable CIR on w83667hg chip variant

Thanks to some excellent investigative work by Douglas Clowes, it was
uncovered that the older w83667hg Nuvoton chip functions with this
driver after actually enabling the CIR function via its multi-function
chip config register. The CIR and CIR wide-band sensor enable bits are
just in a different place on this hardware, so we only poke register
0x27 on 677 hardware now, and we poke register 0x2c on the 667 now.

Reported-by: Douglas Clowes <dclowes1@optusnet.com.au>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/nuvoton-cir.c
drivers/media/rc/nuvoton-cir.h