]> 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)
commitb520f69c22d8364e40800096d98df1c56f674caa
tree0b24dc25a6575c08ebbf55227cb71e50f803b8a7
parentf072d5fbb269273d5057d64c4c2460b0d35d4d0d
[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