[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)
commit39381d4fcd97462f0262bef382b7643f17787587
tree0b24dc25a6575c08ebbf55227cb71e50f803b8a7
parent362d3a3a9592598cef1d3e211ad998eb844dc5f3
[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