linux/drivers/media/common
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
..
tuners V4L/DVB (13107): tda18271: fix overflow in FM radio frequency calculation 2009-11-07 12:55:04 -02:00
ir-functions.c V4L/DVB (12595): common/ir: use a struct for keycode tables 2009-09-12 12:19:47 -03:00
ir-keymaps.c V4L/DVB (12595): common/ir: use a struct for keycode tables 2009-09-12 12:19:47 -03:00
Kconfig
Makefile fix drivers/media/common/tuners/ build bug 2008-04-30 08:36:04 -07:00
saa7146_core.c V4L/DVB (10502): saa7146: move v4l2 device registration to saa7146_vv. 2009-03-30 12:42:42 -03:00
saa7146_fops.c V4L/DVB (10502): saa7146: move v4l2 device registration to saa7146_vv. 2009-03-30 12:42:42 -03:00
saa7146_hlp.c V4L/DVB (8128): saa7146: ->cpu_addr and friends are little-endian 2008-07-20 07:13:14 -03:00
saa7146_i2c.c V4L/DVB (10843): saa7146: Clean-up i2c error handling 2009-03-30 12:43:08 -03:00
saa7146_vbi.c V4L/DVB (7237): Convert videobuf-dma-sg to generic DMA API 2008-04-24 14:07:44 -03:00
saa7146_video.c V4L/DVB (11261): saa7146: Remove buffer type check from vidioc_g_parm 2009-03-30 12:43:44 -03:00