summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-input.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-05-25 21:56:37 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 22:52:14 +0200
commita24ec44801708e67585fa31dd0cc5802010dab31 (patch)
tree2f7d79505afb331e9fcd8c1db5161b02cc7fe02f /drivers/media/video/em28xx/em28xx-input.c
parent[media] cxd2820r: fix bitfields (diff)
downloadlinux-a24ec44801708e67585fa31dd0cc5802010dab31.tar.xz
linux-a24ec44801708e67585fa31dd0cc5802010dab31.zip
[media] em28xx: EM28174 remote support
For some reason it repeats rather slowly, around 800ms intervals, two RC5 remotes tested. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-input.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-input.c b/drivers/media/video/em28xx/em28xx-input.c
index ba1ba8648c81..5d12b14282e3 100644
--- a/drivers/media/video/em28xx/em28xx-input.c
+++ b/drivers/media/video/em28xx/em28xx-input.c
@@ -372,6 +372,7 @@ int em28xx_ir_change_protocol(struct rc_dev *rc_dev, u64 rc_type)
ir->get_key = default_polling_getkey;
break;
case CHIP_ID_EM2874:
+ case CHIP_ID_EM28174:
ir->get_key = em2874_polling_getkey;
em28xx_write_regs(dev, EM2874_R50_IR_CONFIG, &ir_config, 1);
break;