aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-input.c
diff options
context:
space:
mode:
authorTony Wan <wankai@sjtu.org>2007-05-11 10:33:50 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:23:21 -0400
commit480f75acbc1452c0fc7b2ee595bde17c18f798aa (patch)
treefefdf3ef6b9ba3f943fc478fd016d36686fb168d /drivers/media/video/saa7134/saa7134-input.c
parentaaccb82bdb93889987497b2b712c5160cdf79240 (diff)
V4L/DVB (5647): Saa7134: enable ir-remote for 10moons TM300
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 'drivers/media/video/saa7134/saa7134-input.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index c0de37e3f5c6..817d4b62e222 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -333,6 +333,12 @@ int saa7134_input_init1(struct saa7134_dev *dev)
333 mask_keyup = 0x040000; 333 mask_keyup = 0x040000;
334 polling = 50; // ms 334 polling = 50; // ms
335 break; 335 break;
336 case SAA7134_BOARD_10MOONSTVMASTER3:
337 ir_codes = ir_codes_encore_enltv;
338 mask_keycode = 0x5f80000;
339 mask_keyup = 0x8000000;
340 polling = 50; //ms
341 break;
336 } 342 }
337 if (NULL == ir_codes) { 343 if (NULL == ir_codes) {
338 printk("%s: Oops: IR config error [card=%d]\n", 344 printk("%s: Oops: IR config error [card=%d]\n",