summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames R. Webb <jrwebb@qwest.net>2005-11-08 21:37:00 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 07:56:13 -0800
commitdc2286cfce214c0de00571f3219a50488c58dd6b (patch)
tree3ffafaa3fac1397b36304ec04cedbccff546dc05
parent7b3c6d659fc392cfd80e57840c10ccd4c6ab62c5 (diff)
downloadop-kernel-dev-dc2286cfce214c0de00571f3219a50488c58dd6b.zip
op-kernel-dev-dc2286cfce214c0de00571f3219a50488c58dd6b.tar.gz
[PATCH] v4l: 707: remote for kworld terminator
- 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>
-rw-r--r--drivers/media/video/saa7134/saa7134-cards.c1
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c
index c59f4d7..7278150 100644
--- a/drivers/media/video/saa7134/saa7134-cards.c
+++ b/drivers/media/video/saa7134/saa7134-cards.c
@@ -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:
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index 8d211ba..9dc41c1 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -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:
OpenPOWER on IntegriCloud