From: Michael Krufky Date: Sun, 27 Sep 2009 17:05:12 +0000 (-0300) Subject: V4L/DVB (13107): tda18271: fix overflow in FM radio frequency calculation X-Git-Tag: v2.6.32-rc7~52^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d8317876d5f53ef792e90f89d8f162d7bca5c81;p=pandora-kernel.git V4L/DVB (13107): tda18271: fix overflow in FM radio frequency calculation Multiplication by 62500 causes an overflow in the 32 bit freq variable, which is later divided by 1000 when using FM radio. This patch prevents the overflow by scaling the frequency value correctly upfront. Thanks to Henk Vergonet for spotting the problem and providing a preliminary patch, which this changeset was based upon. Cc: Henk Vergonet Signed-off-by: Michael Krufky CC: stable@kernel.org Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed