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: accepted/tizen/common/20141203.182822~17031^2~594 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8afe6ad6176205b9612110b8f64dbf3325a1c236;p=platform%2Fkernel%2Flinux-arm64.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 a146c35..ba1e24c 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); } /*