linux/drivers/media/tuners
Antti Palosaari e8df0d9fae [media] m88ts2022: fix 32bit overflow on filter calc
commit f538e08513 upstream.

Maximum satellite symbol rate used is 45000000Sps which overflows
when multiplied by 135. As final calculation result is fraction,
we could use mult_frac macro in order to keep calculation inside
32 bit number limits and prevent overflow.

Original bug and fix was provided by Nibble Max. I decided to
implement it differently as it is now.

Reported-by: Nibble Max <nibble.max@gmail.com>
Tested-by: Nibble Max <nibble.max@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2014-11-17 14:11:50 +00:00
..
e4000.c [media] e4000: make VIDEO_V4L2 dependency optional 2014-03-24 17:21:56 -03:00
e4000.h [media] e4000: convert DVB tuner to I2C driver model 2014-03-14 05:21:27 -03:00
e4000_priv.h [media] e4000: rename some variables 2014-03-14 05:38:39 -03:00
fc001x-common.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
fc0011.c Revert "[media] fc0011: Return early, if the frequency is already tuned" 2013-02-11 19:38:59 -02:00
fc0011.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
fc0012-priv.h [media] fc0012: use Kernel dev_foo() logging 2013-01-06 09:08:23 -02:00
fc0012.c [media] fc001[23]: Change variable type to bool 2013-10-02 06:48:14 -03:00
fc0012.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
fc0013-priv.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
fc0013.c [media] fc001[23]: Change variable type to bool 2013-10-02 06:48:14 -03:00
fc0013.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
fc2580.c [media] fc2580: fix tuning failure on 32-bit arch 2014-04-16 18:13:11 -03:00
fc2580.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
fc2580_priv.h [media] fc2580: fix tuning failure on 32-bit arch 2014-04-16 18:13:11 -03:00
Kconfig [media] si2157: Silicon Labs Si2157 silicon tuner driver 2014-04-23 09:47:33 -03:00
m88ts2022.c [media] m88ts2022: fix 32bit overflow on filter calc 2014-11-17 14:11:50 +00:00
m88ts2022.h [media] m88ts2022: fix some style issues reported by checkpatch.pl 2013-12-19 09:24:57 -02:00
m88ts2022_priv.h [media] m88ts2022: fix some style issues reported by checkpatch.pl 2013-12-19 09:24:57 -02:00
Makefile [media] si2157: Silicon Labs Si2157 silicon tuner driver 2014-04-23 09:47:33 -03:00
max2165.c [media] max2165: get rid of warning: no previous prototype 2012-10-27 18:10:38 -02:00
max2165.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
max2165_priv.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
mc44s803.c [media] mc44s803: implement get_if_frequency() 2012-09-18 12:54:44 -03:00
mc44s803.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
mc44s803_priv.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
mt20xx.c [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
mt20xx.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
mt2060.c [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
mt2060.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
mt2060_priv.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
mt2063.c [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
mt2063.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
mt2131.c [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
mt2131.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
mt2131_priv.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
mt2266.c [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
mt2266.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
mxl5005s.c [media] mxl5005s: implement get_if_frequency() 2012-09-18 12:51:00 -03:00
mxl5005s.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
mxl5007t.c Revert "[media] [PATH,1/2] mxl5007 move reset to attach" 2013-02-08 17:49:26 -02:00
mxl5007t.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
qt1010.c [media] qt1010: remove debug register dump 2012-09-15 09:21:41 -03:00
qt1010.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
qt1010_priv.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
r820t.c [media] r820t: fix size and init values 2014-04-07 09:39:13 -03:00
r820t.h [media] r820t: Remove a warning for an unused value 2013-04-25 16:07:04 -03:00
si2157.c [media] si2157: add one missing parenthesis 2014-06-19 13:13:05 -03:00
si2157.h [media] si2157: add copyright and license 2014-04-23 09:53:22 -03:00
si2157_priv.h [media] si2157: add copyright and license 2014-04-23 09:53:22 -03:00
tda827x.c [media] tda8290: change magic LNA config values to enum 2013-04-08 07:05:15 -03:00
tda827x.h [media] tda8290: change magic LNA config values to enum 2013-04-08 07:05:15 -03:00
tda8290.c [media] tuner-core/simple: get_rf_strength can be tuner mode specific 2013-04-14 19:44:50 -03:00
tda8290.h [media] tda8290: change magic LNA config values to enum 2013-04-08 07:05:15 -03:00
tda9887.c [media] tda9887: remove an warning when compiling for alpha 2013-11-07 15:03:10 -02:00
tda9887.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tda18212.c [media] tda18212: add support for ATSC and clearQAM on tda18272 2014-03-04 14:43:43 -03:00
tda18212.h [media] tda18212: add support for ATSC and clearQAM on tda18272 2014-03-04 14:43:43 -03:00
tda18218.c [media] tuners: Don't use dynamic static allocation 2013-11-08 09:45:41 -02:00
tda18218.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
tda18218_priv.h [media] tda18218: switch to Kernel logging 2012-09-15 09:23:16 -03:00
tda18271-common.c [media] tda18271-common: hold the I2C adapter during write transfers 2012-10-07 09:43:01 -03:00
tda18271-fe.c [media] tda8290: change magic LNA config values to enum 2013-04-08 07:05:15 -03:00
tda18271-maps.c [media] tuners/tda18271: Replace memcpy with struct assignment 2012-12-27 19:01:13 -02:00
tda18271-priv.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
tda18271.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tea5761.c [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
tea5761.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tea5767.c [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
tea5767.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tua9001.c [media] tua9001: fix a warning 2012-10-28 07:38:54 -02:00
tua9001.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00
tua9001_priv.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
tuner-i2c.h [media] common: move media/common/tuners to media/tuners 2012-08-13 23:40:28 -03:00
tuner-simple.c [media] tuner-core/simple: get_rf_strength can be tuner mode specific 2013-04-14 19:44:50 -03:00
tuner-simple.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tuner-types.c [media] tuner: add Sony BTF tuners 2013-03-24 12:11:35 -03:00
tuner-xc2028-types.h [media] media_tree: Fix spelling errors 2013-11-29 14:43:50 -02:00
tuner-xc2028.c [media] xc2028: add missing break to switch 2014-04-06 11:08:48 -03:00
tuner-xc2028.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tuner_it913x.c media: it913x: init tuner on attach 2014-10-05 13:41:10 -07:00
tuner_it913x.h [media] it913x: rename its tuner driver to tuner_it913x 2013-04-16 20:06:05 -03:00
tuner_it913x_priv.h [media] it913x: rename its tuner driver to tuner_it913x 2013-04-16 20:06:05 -03:00
xc4000.c media: xc4000: Fix get_frequency() 2014-09-17 09:21:48 -07:00
xc4000.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
xc5000.c media: xc5000: Fix get_frequency() 2014-09-17 09:21:48 -07:00
xc5000.h [media] tuners: use IS_ENABLED 2013-03-23 09:22:06 -03:00