[media] m88ts2022: reimplement synthesizer calculations
authorAntti Palosaari <crope@iki.fi>
Mon, 2 Dec 2013 04:39:24 +0000 (01:39 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 19 Dec 2013 11:21:56 +0000 (09:21 -0200)
commitc19314b09bc0839736f2c74422b21de36a86e7b7
treeddbcde74a7899403d093894005ea8e16c7b55cf7
parent92676ac92738c29a439d959964f2a89d73150333
[media] m88ts2022: reimplement synthesizer calculations

Used synthesizer is very typical integer-N PLL, with configurable
reference frequency divider, output frequency divider and of
course N itself. Most common method to calculate values is first
select output divider, then calculate VCO frequency and finally
calculate PLL N from VCO frequency. Do it that way.

Also make some cleanups for filter logic and signal strength.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/m88ts2022.c