summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-01-04 18:01:59 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-04 19:13:24 -0200
commit3ac693c40a08703f3c456d8f45940a48c1f8d93f (patch)
tree40c662fcf0bf192dd44249fb20ba7448e47ecb97
parentd40580e7c043cdfbf472e76052a4606fea16642d (diff)
downloadop-kernel-dev-3ac693c40a08703f3c456d8f45940a48c1f8d93f.zip
op-kernel-dev-3ac693c40a08703f3c456d8f45940a48c1f8d93f.tar.gz
[media] em28xx: tell ir-kbd-i2c that WinTV uses an RC5 protocol
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/usb/em28xx/em28xx-input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c
index ebbb0aa..5b3292c 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;
OpenPOWER on IntegriCloud