Mailing List archive

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

[linux-dvb] Re: Bug in stv0299.c?



Am Sa, den 14.08.2004 schrieb Roberto Ragusa um 12:09:
> On Fri, 13 Aug 2004 15:24:41 +0200
> "Robert Schlabbach" <robert_s@gmx.net> wrote:
> 
> > What happens if you call FE_GET_FRONTEND several times? Will the frequency
> > offset be added each time and thus only be correct on the first call?
> 
> Much worse than that.
> 
> What happens if the struct only contains 0x00 bytes?
> It is not guaranteed that I use the same struct I recently used
> with FE_SET_FRONTEND.

The struct is initialized by dvb_frontend.c before calling the driver's
FE_GET_FRONTEND by copying the struct passed to the previous
FE_SET_FRONTEND. Therefore frequency will have the same value every time
the driver's FE_GET_FRONTEND is called.

Regards,
Andreas





Home | Main Index | Thread Index