diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2006-02-22 00:48:00 +0200 |
---|---|---|
committer | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2006-02-22 00:48:00 +0200 |
commit | 016e2c55c79d9394c22e6bfd93ef073caa766706 (patch) | |
tree | e36aa7eca65c2b87f5b02d022791a020becaee38 /linux/drivers/media/video/saa7134 | |
parent | eeaa22858ac00b68bd5fe46af679dd5ffabeb5ce (diff) | |
download | mediapointer-dvb-s2-016e2c55c79d9394c22e6bfd93ef073caa766706.tar.gz mediapointer-dvb-s2-016e2c55c79d9394c22e6bfd93ef073caa766706.tar.bz2 |
Restore power on defaults of tda9887 after tda8290 probe
From: Hartmut Hackmann <hartmut.hackmann@t-online.de>
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>
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-cards.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c index 3963ac2d1..162a89052 100644 --- a/linux/drivers/media/video/saa7134/saa7134-cards.c +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c @@ -2215,7 +2215,7 @@ struct saa7134_board saa7134_boards[] = { .radio_type = UNSET, .tuner_addr = 0x61, .radio_addr = ADDR_UNSET, - .tda9887_conf = TDA9887_PRESENT, + .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, @@ -2239,7 +2239,7 @@ struct saa7134_board saa7134_boards[] = { .radio_type = UNSET, .tuner_addr = 0x61, .radio_addr = ADDR_UNSET, - .tda9887_conf = TDA9887_PRESENT, + .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, |