summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2009-01-30 02:57:07 +0200
committerIgor M. Liplianin <liplianin@me.by>2009-01-30 02:57:07 +0200
commitf1ee371d5b7780d8c85202d55a6602f61abb50b6 (patch)
treedc6eaed152e2198f82fc34a5775cb89a44bc6e0c /linux/drivers/media/dvb
parent8e61aa005719a9c2c7a8a1b8d0f99da2706b4030 (diff)
downloadmediapointer-dvb-s2-f1ee371d5b7780d8c85202d55a6602f61abb50b6.tar.gz
mediapointer-dvb-s2-f1ee371d5b7780d8c85202d55a6602f61abb50b6.tar.bz2
Bug fix: Restore HVR-4000 tuning.
From: Igor M. Liplianin <liplianin@me.by> Some cards uses cx24116 LNB_DC pin for LNB power control, some not uses, some uses it different way, like HVR-4000. Signed-off-by: Igor M. Liplianin <liplianin@me.by> Tested-by : Edgar Hucek <gimli@dark-green.com>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/cx24116.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24116.c b/linux/drivers/media/dvb/frontends/cx24116.c
index db1e1e4ea..8301a9865 100644
--- a/linux/drivers/media/dvb/frontends/cx24116.c
+++ b/linux/drivers/media/dvb/frontends/cx24116.c
@@ -1184,7 +1184,12 @@ static int cx24116_initfe(struct dvb_frontend *fe)
if (ret != 0)
return ret;
- return cx24116_diseqc_init(fe);
+ ret = cx24116_diseqc_init(fe);
+ if (ret != 0)
+ return ret;
+
+ /* HVR-4000 needs this */
+ return cx24116_set_voltage(fe, SEC_VOLTAGE_13);
}
/*