Gianluca Gennari bbf9461626 [media] r820t: fix imr calibration
The r820t_imr() calibration function of the Rafael Micro R820T tuner
generates this error at every tune attempt:
r820t 0-001a: No valid PLL values for 2252021 kHz!
The function was inspired by the original Realtek driver for rtl2832 devices
with the r820t tuner; anyway, in the original code the XTAL frequency of
the tuner was expressed in KHz, while in the kernel driver it is expressed
in Hz; so the calibration failed because of an out-of-range initial value.
The final result of the computation is then passed to the r820t_set_mux()
and r820t_set_pll() functions, but the conversion from KHz to Hz is already
correctly implemented.

Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-06-19 11:07:53 -03:00
..
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-03-23 09:22:06 -03:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-06-19 11:07:53 -03:00
2013-02-06 09:24:09 -02:00
2013-03-23 09:22:06 -03:00
2013-03-23 09:22:06 -03:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2012-10-28 07:38:54 -02:00
2013-03-23 09:22:06 -03:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-02-06 09:24:09 -02:00
2013-03-23 09:22:06 -03:00