From: Igor M. Liplianin Date: Fri, 30 Jan 2009 00:57:07 +0000 (-0300) Subject: V4L/DVB (10413): Bug fix: Restore HVR-4000 tuning. X-Git-Tag: MMI-PSA29.97-13-9~29189^2~594 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8afe6ad6176205b9612110b8f64dbf3325a1c236;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Igor M. Liplianin Signed-off-by: Mauro Carvalho Chehab --- 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); } /*