linux/drivers/media
Michael Krufky 4d8317876d 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 <Henk.Vergonet@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
CC: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-11-07 12:55:04 -02:00
..
common V4L/DVB (13107): tda18271: fix overflow in FM radio frequency calculation 2009-11-07 12:55:04 -02:00
dvb V4L/DVB (13079): dib0700: fixed xc2028 firmware loading kernel oops 2009-11-07 12:55:03 -02:00
radio headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
video headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
Kconfig
Makefile