V4L/DVB (10413): Bug fix: Restore HVR-4000 tuning.
authorIgor M. Liplianin <liplianin@me.by>
Fri, 30 Jan 2009 00:57:07 +0000 (21:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:36 +0000 (12:42 -0300)
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>
drivers/media/dvb/frontends/cx24116.c

index a146c352df596c2da5c758d6bc40a0a7589d8b31..ba1e24c82272d0f2014acb03785af250c397440a 100644 (file)
@@ -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);
 }
 
 /*