diff mbox

[linux-dvb] Broken Tuning on Wintv Nova HD S2

Message ID 200901300009.37576.liplianin@tut.by (mailing list archive)
State Not Applicable
Headers show

Commit Message

Igor M. Liplianin Jan. 29, 2009, 10:09 p.m. UTC
В сообщении от 29 January 2009 23:36:43 Mika Laitio написал(а):
> >> Edgar (gimli) Hucek
> >
> > Does simple patch work ?
> > I need your Acked-by :)
>
> Hi, I have only saw one version of your patch in mailing list,
> did you send the simpler version somewhere?
>
> Mika
Sorry, send it to Edgar only.
But it is unintentionally.
diff mbox

Patch

# HG changeset patch
# User Igor M. Liplianin <liplianin@me.by>
# Date 1233253267 -7200
# Node ID 3542d1c1e03add577ce85175327701c552d14856
# Parent  4086371cea7b7f8b461e1a77513274aa43583c8c
Bug fix: Restore HVR-4000 tuning.

From: Igor M. Liplianin <liplianin@me.by>

Some cards uses cx24116 LNB_DC pin for LNB power control,
some not uses, some uses it different way, like HVR-4000.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>

diff -r 4086371cea7b -r 3542d1c1e03a linux/drivers/media/dvb/frontends/cx24116.c
--- a/linux/drivers/media/dvb/frontends/cx24116.c	Sat Jan 17 17:23:31 2009 +0200
+++ b/linux/drivers/media/dvb/frontends/cx24116.c	Thu Jan 29 20:21:07 2009 +0200
@@ -1184,7 +1184,12 @@ 
 	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);
 }
 
 /*