[linux-dvb] Asys P7131 Hybrid: DVB out of range

Mauro Carvalho Chehab mchehab at infradead.org
Thu Sep 6 22:14:37 CEST 2007

> This would be easy to do.  There is already a function,
> dvb_frontend_get_frequeny_limits(), that does this.  It prints a warning
> message if neither the demod nor the tuner define a limit.  In this case,
> it returns zero for the max frequency, so any attempt to tune with a driver
> broken like this will fail.  It could easily return ULONG_MAX in this case,
> so tuning would work but there would still be the warning message.

IMO, this seems to be the proper way for handling this. Both tuner and
demod limits are taken into account by this function. It also takes the
minor limits, between demod and tuner. The message may be improved to
ask people to send an e-mail to the maintainers list for a fix to be
applied. Mkrufky added a warning message also asking for report
submission, if a V4L tuner is detected after the maximum expected i2c


More information about the linux-dvb mailing list