Commit bdfb0d8e authored by Andrew de Quincey's avatar Andrew de Quincey Committed by Greg Kroah-Hartman

v4l/dvb: Fix budget-av frontend detection

The budget-av needs this GPIO set low for most cards to work.
Signed-off-by: default avatarAndrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4b6f4d57
...@@ -1017,12 +1017,13 @@ static void frontend_init(struct budget_av *budget_av) ...@@ -1017,12 +1017,13 @@ static void frontend_init(struct budget_av *budget_av)
struct saa7146_dev * saa = budget_av->budget.dev; struct saa7146_dev * saa = budget_av->budget.dev;
struct dvb_frontend * fe = NULL; struct dvb_frontend * fe = NULL;
/* Enable / PowerON Frontend */
saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO);
switch (saa->pci->subsystem_device) { switch (saa->pci->subsystem_device) {
case SUBID_DVBS_KNC1_PLUS: case SUBID_DVBS_KNC1_PLUS:
case SUBID_DVBC_KNC1_PLUS: case SUBID_DVBC_KNC1_PLUS:
case SUBID_DVBT_KNC1_PLUS: case SUBID_DVBT_KNC1_PLUS:
// Enable / PowerON Frontend
saa7146_setgpio(saa, 0, SAA7146_GPIO_OUTLO);
saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTHI); saa7146_setgpio(saa, 3, SAA7146_GPIO_OUTHI);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment