media: fc2580: fix tuning failure on 32-bit arch

commit 8845cc6415 upstream.

There was some frequency calculation overflows which caused tuning
failure on 32-bit architecture. Use 64-bit numbers where needed in
order to avoid calculation overflows.

Thanks for the Finnish person, who asked remain anonymous, reporting,
testing and suggesting the fix.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Antti Palosaari 2014-04-10 21:18:16 -03:00 • committed by Greg Kroah-Hartman
commit 24d0dd75ef
2 changed files with 4 additions and 3 deletions