From: Mauro Carvalho Chehab Date: Fri, 4 Jan 2013 21:01:59 +0000 (-0300) Subject: [media] em28xx: tell ir-kbd-i2c that WinTV uses an RC5 protocol X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ac693c40a08703f3c456d8f45940a48c1f8d93f;p=openwrt%2Fstaging%2Fblogic.git [media] em28xx: tell ir-kbd-i2c that WinTV uses an RC5 protocol Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c index ebbb0aa51dfa..5b3292c8310b 100644 --- a/drivers/media/usb/em28xx/em28xx-input.c +++ b/drivers/media/usb/em28xx/em28xx-input.c @@ -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;