Mailing List archive

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

[linux-dvb] Re: AVerMedia 771 problems [everything solved]



Wolfram Joost wrote:
> 
> > This also works for me and the sleep problem is gone. But I still need
> > other parts of the diff I sent here before. Patch attached.
> 
> I think the parameter validation-code makes the difference. Currently, the 
> driver in the cvs rejects wrong parameters.
> 
> What's the philosophy for the dvb-subsystem? Tolerate and auto-correct wrong 
> parameters or silently correct them(and live with applications which use 
> wrong parameters)? 

I think that parameters which are outside the DVB specification
should be rejected (EINVAL). However, a driver might want to
handle gracefully slightly wrong tuning parameters (e.g. a wrong FEC
value) -- the application should be able to get correct values
via FE_GET_FRONTEND if it is interested.

Johannes




Home | Main Index | Thread Index