aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-cards.c
diff options
context:
space:
mode:
authorAlbert Graham <agraham@g-b.net>2007-12-09 07:44:38 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:03:21 -0500
commitd2761f227162f610d35b9d68564f5c64774be581 (patch)
tree3e5c57f7ba613612177dd7a781aacbe433e6e339 /drivers/media/video/saa7134/saa7134-cards.c
parentd172b8bdab3812a6ad710e4cc78ceea3e8a40cd5 (diff)
V4L/DVB (6752): saa7134: Enable remote control support for Avermedia M102
This patch enabled the IR remote control for the Avermedia M102 (card=110), which appears to be the same IR as the already supported device on the Avermedia AVerTV GO 007 FM (card=57) model, the code is two one liners which enable the IR for this device (subsystem: 1461:f31e) Signed-off-by: Albert Graham <agraham@g-b.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-cards.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c
index 9a2dd643025b..b29427aaa88d 100644
--- a/drivers/media/video/saa7134/saa7134-cards.c
+++ b/drivers/media/video/saa7134/saa7134-cards.c
@@ -4544,6 +4544,7 @@ int saa7134_board_init1(struct saa7134_dev *dev)
4544 break; 4544 break;
4545 case SAA7134_BOARD_AVERMEDIA_M102: 4545 case SAA7134_BOARD_AVERMEDIA_M102:
4546 /* enable tuner */ 4546 /* enable tuner */
4547 dev->has_remote = SAA7134_REMOTE_GPIO;
4547 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007); 4548 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
4548 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd); 4549 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
4549 break; 4550 break;