diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-13 16:29:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:58:07 -0400 |
commit | 473f54276a814810d4a06616b223a7d6829e1ad5 (patch) | |
tree | 9e19e6496553d4efb55c5c21e256688990d14785 /drivers/media/dvb/ttpci/budget-av.c | |
parent | 7a3165a1520c608f10a66588ab48275e1ce253f5 (diff) |
V4L/DVB (3805): Fix KNC1 card frontend detection
Since I reordered the CI/frontend detection, it turns out the frontend needs
to have a GPIO set to power it on; otherwise frontend init fails.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-av.c')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-av.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/budget-av.c b/drivers/media/dvb/ttpci/budget-av.c index 8a7cd7d505cf..dc78aadf002a 100644 --- a/drivers/media/dvb/ttpci/budget-av.c +++ b/drivers/media/dvb/ttpci/budget-av.c | |||
@@ -1017,12 +1017,14 @@ static void frontend_init(struct budget_av *budget_av) | |||
1017 | struct saa7146_dev * saa = budget_av->budget.dev; | 1017 | struct saa7146_dev * saa = budget_av->budget.dev; |
1018 | struct dvb_frontend * fe = NULL; | 1018 | struct dvb_frontend * fe = NULL; |
1019 | 1019 | ||
1020 | /* Enable / PowerON Frontend */ | ||
1021 | saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO); | ||
1022 | |||
1023 | /* additional setup necessary for the PLUS cards */ | ||
1020 | switch (saa->pci->subsystem_device) { | 1024 | switch (saa->pci->subsystem_device) { |
1021 | case SUBID_DVBS_KNC1_PLUS: | 1025 | case SUBID_DVBS_KNC1_PLUS: |
1022 | case SUBID_DVBC_KNC1_PLUS: | 1026 | case SUBID_DVBC_KNC1_PLUS: |
1023 | case SUBID_DVBT_KNC1_PLUS: | 1027 | case SUBID_DVBT_KNC1_PLUS: |
1024 | // Enable / PowerON Frontend | ||
1025 | saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO); | ||
1026 | saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTHI); | 1028 | saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTHI); |
1027 | break; | 1029 | break; |
1028 | } | 1030 | } |