[media] em28xx: tell ir-kbd-i2c that WinTV uses an RC5 protocol
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 4 Jan 2013 21:01:59 +0000 (18:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 4 Jan 2013 21:13:24 +0000 (19:13 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-input.c

index ebbb0aa..5b3292c 100644 (file)
@@ -483,6 +483,7 @@ static void em28xx_register_i2c_ir(struct em28xx *dev)
                dev->init_data.ir_codes = RC_MAP_HAUPPAUGE;
                dev->init_data.get_key = em28xx_get_key_em_haup;
                dev->init_data.name = "WinTV USB2";
+               dev->init_data.type = RC_BIT_RC5;
                break;
        case EM2820_BOARD_LEADTEK_WINFAST_USBII_DELUXE:
                dev->init_data.ir_codes = RC_MAP_WINFAST_USBII_DELUXE;