]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
[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 c59f4d7755213086a6f645884d6a084b7cb51fca..7278150fb58e3e736091d707a81939fa759a534f 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 8d211ba223163dc0ea5be2e1153856889df92602..9dc41c1427a8311101da0e0efd597fc790b5e97e 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: