[media] e4000: fix PLL calc bug on 32-bit arch
authorAntti Palosaari <crope@iki.fi>
Mon, 2 Sep 2013 16:06:13 +0000 (13:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 24 Sep 2013 16:20:19 +0000 (13:20 -0300)
commit35c00c98a28835bcbf7450ab74cc112c28e5f59c
tree4251c6419aea7ed226f401b441d2046357c33b10
parent1558ec837f4aa85987193d057377c42b243ca140
[media] e4000: fix PLL calc bug on 32-bit arch

Fix long-lasting bug that causes tuning failure of some frequencies
on 32-bit arch.
Special thanks goes to Damien CABROL who finally find root of the bug.
Also big thanks to Jacek Konieczny for donating "non-working" device.

[crope@iki.fi: fix trivial merge conflict]
[m.chehab@samsung.com: add missing header file]
Reported-by: Jacek Konieczny <jajcus@jajcus.net>
Reported-by: Torsten Seyffarth <t.seyffarth@gmx.de>
Reported-by: Jan Taegert <jantaegert@gmx.net>
Reported-by: Damien CABROL <cabrol.damien@free.fr>
Tested-by: Damien CABROL <cabrol.damien@free.fr>
Tested-by: Jan Taegert <jantaegert@gmx.net>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/e4000.c