]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit400aa32e0143d4d126b513b199fe6eb16e200933
treebed38f3c49388190ccf27337adaee3997da00af6
parent047c0e3144b3d4ec42baef3a1e7eb6d953cf7a88
[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