[linux-dvb] The Tuner stv6110x.c driver problem.

gennady gennady at exatel-vs.com
Wed Sep 16 08:28:14 CEST 2009


Hi!

My stv6110a tuner doesn't work.

I see that there is problem with the divider calculation.

 

The code gets the same value = 3 in any case:

 

for (rDiv = 0; rDiv <= 3; rDiv++) 

 {

             pCalc = (REFCLOCK_kHz / 100) / R_DIV(rDiv);

 

             if ((abs((s32)(pCalc - pVal))) < (abs((s32)(1000 - pVal))))

             {

                        rDivOpt = rDiv;

             }

}

 

As result is the wrong divider value.

 

Is this driver working?

 

 

Gennady.

 

gennady at exatel-vs.com

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.linuxtv.org/pipermail/linux-dvb/attachments/20090916/df4f3877/attachment.htm>


More information about the linux-dvb mailing list