]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] em28xx: Fix IR support for WinTV USB2
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 12 Jan 2011 17:22:42 +0000 (14:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:19 +0000 (11:45 -0200)
Due to a lack of a break inside the switch, it were getting the
wrong keytable and get_key function.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c

index 099d5df8c572dfc77e2ee1a85403a3b1a7b52bde..ba03a448b41dae564731fca75802e72924b13756 100644 (file)
@@ -2437,6 +2437,7 @@ void em28xx_register_i2c_ir(struct em28xx *dev)
                dev->init_data.ir_codes = RC_MAP_RC5_HAUPPAUGE_NEW;
                dev->init_data.get_key = em28xx_get_key_em_haup;
                dev->init_data.name = "i2c IR (EM2840 Hauppauge)";
+               break;
        case EM2820_BOARD_LEADTEK_WINFAST_USBII_DELUXE:
                dev->init_data.ir_codes = RC_MAP_WINFAST_USBII_DELUXE;
                dev->init_data.get_key = em28xx_get_key_winfast_usbii_deluxe;