From 814b3886285b0fac985107bf4843914fb8484a36 Mon Sep 17 00:00:00 2001 From: Andrew de Quincey Date: Fri, 13 Oct 2006 18:02:49 +0200 Subject: [PATCH] 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 Signed-off-by: Michael Krufky Signed-off-by: Adrian Bunk --- drivers/media/dvb/ttpci/budget-av.c | 5 +++-- 1 file 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; } -- 2.39.5