summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2009-01-30 01:57:07 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:42:36 +0200
commit8afe6ad6176205b9612110b8f64dbf3325a1c236 (patch)
treeabcc6aa3fe224fe5e42018b38a00c70157967e57 /drivers
parentV4L/DVB (10409): v4l: remove unused I2C_DRIVERIDs. (diff)
downloadlinux-8afe6ad6176205b9612110b8f64dbf3325a1c236.tar.xz
linux-8afe6ad6176205b9612110b8f64dbf3325a1c236.zip
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')
-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 a146c352df59..ba1e24c82272 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);
}
/*