aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/saa7134/saa7134-cards.c1
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c1
2 files changed, 2 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;
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index a485185357c8..8cfeb2bde90f 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -260,6 +260,7 @@ int saa7134_input_init1(struct saa7134_dev *dev)
260 case SAA7134_BOARD_AVERMEDIA_STUDIO_307: 260 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
261 case SAA7134_BOARD_AVERMEDIA_STUDIO_507: 261 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
262 case SAA7134_BOARD_AVERMEDIA_GO_007_FM: 262 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
263 case SAA7134_BOARD_AVERMEDIA_M102:
263 ir_codes = ir_codes_avermedia; 264 ir_codes = ir_codes_avermedia;
264 mask_keycode = 0x0007C8; 265 mask_keycode = 0x0007C8;
265 mask_keydown = 0x000010; 266 mask_keydown = 0x000010;