summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-10-13 18:02:49 +0200
committerAdrian Bunk <bunk@stusta.de>2006-10-13 18:02:49 +0200
commit814b3886285b0fac985107bf4843914fb8484a36 (patch)
tree49449229899c6c97630a96852ef4da7d40f9123c
parent1d82cce6f3d3119c33aed88ed8c94f93341f995a (diff)
downloadlwn-814b3886285b0fac985107bf4843914fb8484a36.tar.gz
lwn-814b3886285b0fac985107bf4843914fb8484a36.zip
v4l/dvb: Fix budget-av frontend detection
The budget-av needs this GPIO set low for most cards to work. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r--drivers/media/dvb/ttpci/budget-av.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/budget-av.c b/drivers/media/dvb/ttpci/budget-av.c
index 1465c04e49aa..adba47ce88e5 100644
--- a/drivers/media/dvb/ttpci/budget-av.c
+++ b/drivers/media/dvb/ttpci/budget-av.c
@@ -1013,12 +1013,13 @@ static void frontend_init(struct budget_av *budget_av)
struct saa7146_dev * saa = budget_av->budget.dev;
struct dvb_frontend * fe = NULL;
+ /* Enable / PowerON Frontend */
+ saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO);
+
switch (saa->pci->subsystem_device) {
case SUBID_DVBS_KNC1_PLUS:
case SUBID_DVBC_KNC1_PLUS:
case SUBID_DVBT_KNC1_PLUS:
- // Enable / PowerON Frontend
- saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO);
saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTHI);
break;
}