summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-05-11 11:33:50 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-11 11:33:50 -0300
commit602cf0aab47850038252e023c5625cdadd3540a1 (patch)
tree471579e53fd23dbf015b4441fc353816348e58aa /linux/drivers/media/video/saa7134/saa7134-input.c
parentfc233e6eeb37c0fb510ec63274091255a3109df0 (diff)
downloadmediapointer-dvb-s2-602cf0aab47850038252e023c5625cdadd3540a1.tar.gz
mediapointer-dvb-s2-602cf0aab47850038252e023c5625cdadd3540a1.tar.bz2
Saa7134: enable ir-remote for 10moons TM300
From: Tony Wan <wankai@sjtu.org> Using Encore's key codes, we needn't add any additional key table. Signed-off-by: Tony Wan <wankai@sjtu.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-input.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-input.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-input.c b/linux/drivers/media/video/saa7134/saa7134-input.c
index c1ab20e63..1b80a9c3a 100644
--- a/linux/drivers/media/video/saa7134/saa7134-input.c
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c
@@ -334,6 +334,12 @@ int saa7134_input_init1(struct saa7134_dev *dev)
mask_keyup = 0x040000;
polling = 50; // ms
break;
+ case SAA7134_BOARD_10MOONSTVMASTER3:
+ ir_codes = ir_codes_encore_enltv;
+ mask_keycode = 0x5f80000;
+ mask_keyup = 0x8000000;
+ polling = 50; //ms
+ break;
}
if (NULL == ir_codes) {
printk("%s: Oops: IR config error [card=%d]\n",