[PATCH] v4l: 707: remote for kworld terminator
authorJames R. Webb <jrwebb@qwest.net>
Wed, 9 Nov 2005 05:37:00 +0000 (21:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:13 +0000 (07:56 -0800)
- Remote for KWorld Terminator.

Signed-off-by: James R. Webb <jrwebb@qwest.net>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/saa7134/saa7134-cards.c
drivers/media/video/saa7134/saa7134-input.c

index c59f4d7..7278150 100644 (file)
@@ -2848,6 +2848,7 @@ int saa7134_board_init1(struct saa7134_dev *dev)
        case SAA7134_BOARD_BEHOLD_409FM:
        case SAA7134_BOARD_AVACSSMARTTV:
        case SAA7134_BOARD_GOTVIEW_7135:
+       case SAA7134_BOARD_KWORLD_TERMINATOR:
                dev->has_remote = 1;
                break;
        case SAA7134_BOARD_MD5044:
index 8d211ba..9dc41c1 100644 (file)
@@ -557,6 +557,12 @@ int saa7134_input_init1(struct saa7134_dev *dev)
                saa_setb(SAA7134_GPIO_GPMODE0, 0x4);
                saa_setb(SAA7134_GPIO_GPSTATUS0, 0x4);
                break;
+        case SAA7134_BOARD_KWORLD_TERMINATOR:
+               ir_codes     = avacssmart_codes;
+               mask_keycode = 0x00001f;
+               mask_keyup   = 0x000060;
+               polling      = 50; // ms
+               break;
        case SAA7134_BOARD_MANLI_MTV001:
        case SAA7134_BOARD_MANLI_MTV002:
        case SAA7134_BOARD_BEHOLD_409FM: