There are some TDA18271 bug-fix patches awaiting merge that improve tuning performance significantly. Here’s a run-down:
- fix overflow in FM radio frequency calculation
- fix signedness issue in tda18271_rf_tracking_filters_init
- display some state information in debug output
Multiplication by 62500 causes an overflow in the 32 bit freq variable,
which is later divided by 1000 when using FM radio. Prevent the overflow
by scaling the frequency value correctly upfront.
Fix a signedness issue in the function, “tda18271_rf_tracking_filters_init”
which caused the RF tracking filter calibration values to be entirely bogus
under some conditions.Â This changeset significantly improves performance.
Display i2c adapter id, address and master / slave role in debug output
to help debug multiple tuner configurations.
I’m hoping these get merged and sent up to Linus very soon.Â Once Linus merges them into his git repository, I plan to backport the signedness and FM frequency calculation overflow fixes for the -stable kernel series
These changesets are available in my tda18271 repository: