summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-11-13 16:23:06 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:44 -0200
commit70de39183a8b5ba0a0cd884ff46c1d81dbe939db (patch)
tree4825f7dc459bad99d2fbc1a15b2b37af0a86eb08 /drivers/media/video/saa7134/saa7134-input.c
parentc1937f8e3490fedec2c75383df07cd8a7154c545 (diff)
downloadblackbird-op-linux-70de39183a8b5ba0a0cd884ff46c1d81dbe939db.tar.gz
blackbird-op-linux-70de39183a8b5ba0a0cd884ff46c1d81dbe939db.zip
[media] saa7134: use rc-core raw decoders for Encore FM 5.3
Acked-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-input.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index fbb2ff171008..4878f4653faf 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -767,9 +767,10 @@ int saa7134_input_init1(struct saa7134_dev *dev)
break;
case SAA7134_BOARD_ENCORE_ENLTV_FM53:
ir_codes = RC_MAP_ENCORE_ENLTV_FM53;
- mask_keydown = 0x0040000;
- mask_keycode = 0x00007f;
- nec_gpio = 1;
+ mask_keydown = 0x0040000; /* Enable GPIO18 line on both edges */
+ mask_keyup = 0x0040000;
+ mask_keycode = 0xffff;
+ raw_decode = 1;
break;
case SAA7134_BOARD_10MOONSTVMASTER3:
ir_codes = RC_MAP_ENCORE_ENLTV;
OpenPOWER on IntegriCloud