aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2009-01-29 21:57:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:42:36 -0300
commit8afe6ad6176205b9612110b8f64dbf3325a1c236 (patch)
treeabcc6aa3fe224fe5e42018b38a00c70157967e57 /drivers/media/dvb/frontends
parente230b22b59bc07d906f1558a8951206ccab33824 (diff)
V4L/DVB (10413): Bug fix: Restore HVR-4000 tuning.
Some cards uses cx24116 LNB_DC pin for LNB power control, some not uses, some uses it different way, like HVR-4000. Tested-by : Edgar Hucek <gimli@dark-green.com> Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/cx24116.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/cx24116.c b/drivers/media/dvb/frontends/cx24116.c
index a146c352df5..ba1e24c8227 100644
--- a/drivers/media/dvb/frontends/cx24116.c
+++ b/drivers/media/dvb/frontends/cx24116.c
@@ -1167,7 +1167,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);
}
/*