]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (5647): Saa7134: enable ir-remote for 10moons TM300
authorTony Wan <wankai@sjtu.org>
Fri, 11 May 2007 14:33:50 +0000 (11:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:23:21 +0000 (14:23 -0300)
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>
drivers/media/video/saa7134/saa7134-cards.c
drivers/media/video/saa7134/saa7134-input.c

index 44f207780a49bc6d973ff8f7523272b0e3118be3..5813509e399214dc6f413ba1a4e597174de2bb3a 100644 (file)
@@ -4368,6 +4368,7 @@ int saa7134_board_init1(struct saa7134_dev *dev)
        case SAA7134_BOARD_AVERMEDIA_A16AR:
        case SAA7134_BOARD_ENCORE_ENLTV:
        case SAA7134_BOARD_ENCORE_ENLTV_FM:
+       case SAA7134_BOARD_10MOONSTVMASTER3:
                dev->has_remote = SAA7134_REMOTE_GPIO;
                break;
        case SAA7134_BOARD_FLYDVBS_LR300:
index c0de37e3f5c6f2bb27daae26644ded2402a88b42..817d4b62e2227872b00a2b37b347c5aa6537ec5c 100644 (file)
@@ -333,6 +333,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",