]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] fc2580: fix tuning failure on 32-bit arch
authorAntti Palosaari <crope@iki.fi>
Fri, 11 Apr 2014 00:18:16 +0000 (21:18 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 16 Apr 2014 21:13:11 +0000 (18:13 -0300)
commit8845cc6415ec28ef8d57b3fb81c75ef9bce69c5f
treed5a72a1699f8c2e937bade8903f1202bfa44a452
parent877ed143065c3b823cfe54b5a695c6be3659e445
[media] fc2580: fix tuning failure on 32-bit arch

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.

Cc: <stable@vger.kernel.org>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/fc2580.c
drivers/media/tuners/fc2580_priv.h