cx88: Fix HVR4000 IR keymap
authorLawrence Rust <lvr@softsystem.dot.uk>
Thu, 5 May 2011 02:25:10 +0000 (23:25 -0300)
committerSteve Conklin <sconklin@canonical.com>
Thu, 2 Jun 2011 19:23:16 +0000 (14:23 -0500)
BugLink: http://bugs.launchpad.net/bugs/780546

[fixed in .39 in a much different way that is too big to backport to
.38 - gregkh]

Fixes the RC key input for Nova-S plus, HVR1100, HVR3000 and HVR4000 in
the 2.6.38 kernel.

Signed-off-by: Lawrence Rust <lvr@softsystem.dot.uk>
Acked-by: Jarod Wilson <jarod@wilsonet.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

drivers/media/video/cx88/cx88-input.c

index 06f7d1d..ac4f8e0 100644 (file)
@@ -283,7 +283,7 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
        case CX88_BOARD_PCHDTV_HD3000:
        case CX88_BOARD_PCHDTV_HD5500:
        case CX88_BOARD_HAUPPAUGE_IRONLY:
-               ir_codes = RC_MAP_HAUPPAUGE_NEW;
+               ir_codes = RC_MAP_RC5_HAUPPAUGE_NEW;
                ir->sampling = 1;
                break;
        case CX88_BOARD_WINFAST_DTV2000H: