Skip to contentSkip to conversation

em28xx: Fix IR support for WinTV USB2

PATCH New Mauro Carvalho Chehab 1 participant 1 message Jan 12, 2011 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 60241ee6346a9431dbfd751272285b15e87fe4e2.1294862613.git.mchehab@redhat.com

#1 lore raw

PATCH 2/2 em28xx: Fix IR support for WinTV USB2

Due to a lack of a break inside the switch, it were getting the wrong keytable and get_key function.

drivers/media/video/em28xx/em28xx-cards.c +1 -0
index 099d5df..ba03a44 100644
@@ -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;
Signature · 1 line
1.7.1