[media] e4000: fix PLL calc to allow higher frequencies
authorAntti Palosaari <crope@iki.fi>
Mon, 27 Jan 2014 06:13:19 +0000 (03:13 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 14 Mar 2014 08:25:02 +0000 (05:25 -0300)
commit0ed0b22dc594a533a959ed8995e69e2275af40d9
treebed38f3c49388190ccf27337adaee3997da00af6
parentadaa616ffb697f00db9b4ccb638c5e9e719dbb7f
[media] e4000: fix PLL calc to allow higher frequencies

There was 32-bit overflow on VCO frequency calculation which blocks
tuning to 1073 - 1104 MHz. Use 64 bit number in order to avoid VCO
frequency overflow.

After that fix device in question tunes to following range:
60 - 1104 MHz
1250 - 2207 MHz

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