summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-12-27 13:46:36 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-27 13:46:36 -0200
commit538526dca5f2ca9e027d129c6d1931c2fe94829d (patch)
tree062b8e621aed317556ead9ef90907631208c347f /linux/drivers/media/video/saa7134/saa7134-input.c
parented75cb0b12ebc7f9b309db845461efbea140f36e (diff)
downloadmediapointer-dvb-s2-538526dca5f2ca9e027d129c6d1931c2fe94829d.tar.gz
mediapointer-dvb-s2-538526dca5f2ca9e027d129c6d1931c2fe94829d.tar.bz2
Add support for more Encore TV cards
From: Juan Pablo Sormani <sorman@gmail.com> updated patch against latest master: Signed-off-by: Juan Pablo Sormani <sorman@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-input.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-input.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-input.c b/linux/drivers/media/video/saa7134/saa7134-input.c
index 5e69d61d1..064031304 100644
--- a/linux/drivers/media/video/saa7134/saa7134-input.c
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c
@@ -327,6 +327,13 @@ int saa7134_input_init1(struct saa7134_dev *dev)
mask_keydown = 0x0040000;
rc5_gpio = 1;
break;
+ case SAA7134_BOARD_ENCORE_ENLTV:
+ case SAA7134_BOARD_ENCORE_ENLTV_FM:
+ ir_codes = ir_codes_encore_enltv;
+ mask_keycode = 0x00007f;
+ mask_keyup = 0x040000;
+ polling = 50; // ms
+ break;
}
if (NULL == ir_codes) {
printk("%s: Oops: IR config error [card=%d]\n",