Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Mux C on Pontop with ./scan



From: "Johannes Stezenbach" <js@convergence.de>
> > That all looks okay, except for..
> > 826166670:
>
> There are some "return -EINVAL" in tda1004x_set_frequency() for
> the TDM1316L case. Maybe the frontend driver authors know why?

Oops, a classic copy&paste error:

// determine band
		if (fe_params->frequency < 49000000) {
        return -EINVAL;
		} else if (tuner_frequency < 159000000) {
        band = 1;
		} else if (tuner_frequency < 444000000) {
        band = 2;
		} else if (tuner_frequency < 861000000) {
        band = 4;
		} else {
        return -EINVAL;
		}

ALL comparisons should be against fe_params->frequency, not
tuner_frequency...

Sorry, I don't have any CVS tools (or any Linux/Unix tools at that), so I
cannot submit a fix myself. Just replace the three occurrences of
"tuner_frequency" above with "fe_params->frequency" and the issue should be
fixed (and tuning on channels close to the band limits improved).

Regards,
--
Robert Schlabbach
e-mail: robert_s@gmx.net
Berlin, Germany



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index