diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-13 21:29:07 +0100 |
---|---|---|
committer | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-13 21:29:07 +0100 |
commit | 46d6f90f18a1189b459e50eb8ad5e92170593fce (patch) | |
tree | b5fce231b92a199fc6d7178aff0535c58bc6ab29 /linux | |
parent | 08d886ca73a91cab1c9433467c9ff597a1503fdd (diff) | |
download | mediapointer-dvb-s2-46d6f90f18a1189b459e50eb8ad5e92170593fce.tar.gz mediapointer-dvb-s2-46d6f90f18a1189b459e50eb8ad5e92170593fce.tar.bz2 |
Fix KNC1 card frontend detection
From: Andrew de Quincey <adq_dvb@lidskialf.net>
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>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-av.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c index 8a7cd7d50..dc78aadf0 100644 --- a/linux/drivers/media/dvb/ttpci/budget-av.c +++ b/linux/drivers/media/dvb/ttpci/budget-av.c @@ -1017,12 +1017,14 @@ 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); + + /* additional setup necessary for the PLUS cards */ 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; } |