[media] saa7134: use rc-core raw decoders for Encore FM 5.3
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 13 Nov 2010 19:23:06 +0000 (16:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:44 +0000 (08:16 -0200)
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7134/saa7134-input.c

index fbb2ff1710084b4550f6dd0e7d289841c0865fcd..4878f4653faf5f707bec5de08b38b8700f3c756f 100644 (file)
@@ -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;