diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2006-02-26 22:09:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-02-26 22:09:11 -0500 |
commit | 44fd06fa9002c42b367c152594cc95b7632c081d (patch) | |
tree | 296578d5a5bb6ff131ac2c8b1fa6b88be0548153 /drivers/media/video/saa7134/saa7134-cards.c | |
parent | 36f4f334a169e5d42721d74b5d92fda89f792b06 (diff) |
V4L/DVB (3378): Restore power on defaults of tda9887 after tda8290 probe
The probing code for tda8290 changes the state of the tda9887 GP ports.
The patch assumes that if probing for tda8290 failed, this must be a
tda9887 and restores its power on defaults.
This should solve the module load order issue with some pinnacle cards.
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index ca90a73f71d4..eaf32b81ccf8 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -2213,7 +2213,7 @@ struct saa7134_board saa7134_boards[] = { | |||
2213 | .radio_type = UNSET, | 2213 | .radio_type = UNSET, |
2214 | .tuner_addr = 0x61, | 2214 | .tuner_addr = 0x61, |
2215 | .radio_addr = ADDR_UNSET, | 2215 | .radio_addr = ADDR_UNSET, |
2216 | .tda9887_conf = TDA9887_PRESENT, | 2216 | .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, |
2217 | .mpeg = SAA7134_MPEG_DVB, | 2217 | .mpeg = SAA7134_MPEG_DVB, |
2218 | .inputs = {{ | 2218 | .inputs = {{ |
2219 | .name = name_tv, | 2219 | .name = name_tv, |
@@ -2237,7 +2237,7 @@ struct saa7134_board saa7134_boards[] = { | |||
2237 | .radio_type = UNSET, | 2237 | .radio_type = UNSET, |
2238 | .tuner_addr = 0x61, | 2238 | .tuner_addr = 0x61, |
2239 | .radio_addr = ADDR_UNSET, | 2239 | .radio_addr = ADDR_UNSET, |
2240 | .tda9887_conf = TDA9887_PRESENT, | 2240 | .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, |
2241 | .mpeg = SAA7134_MPEG_DVB, | 2241 | .mpeg = SAA7134_MPEG_DVB, |
2242 | .inputs = {{ | 2242 | .inputs = {{ |
2243 | .name = name_tv, | 2243 | .name = name_tv, |