linux-stable/drivers/media/dvb
Klaus Schmidinger 0e377819b9 [media] stb0899: fix the limits for signal strength values
stb0899: fix the limits for signal strength values

stb0899_read_signal_strength() adds an offset to the result of the table lookup.
That offset must correspond to the lowest value in the lookup table, to make sure
the result doesn't get below 0, which would mean a "very high" value since the
parameter is unsigned.
'strength' and 'snr' need to be initialized to 0 to make sure they have a
defined result in case there is no "internal->lock".

Signed-off-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
Cc: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-19 23:06:40 -03:00
..
b2c2 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
bt8xx [media] dvb-bt8xx: convert printks to pr_err() 2012-01-07 11:53:35 -02:00
ddbridge [media] cx18/ddbridge: remove unused headers 2012-02-14 13:44:52 -02:00
dm1105 [media] dm1105: release dvbnet on frontend attachment failure 2012-01-07 11:54:03 -02:00
dvb-core [media] dvb-core: fix DVBFE_ALGO_HW retune bug 2012-02-14 17:15:25 -02:00
dvb-usb [media] mxl111sf: fix error on stream stop in mxl111sf_ep6_streaming_ctrl() 2012-03-19 22:24:40 -03:00
firewire [media] firedtv: handle errors from dvb_net_init 2012-01-06 12:51:26 -02:00
frontends [media] stb0899: fix the limits for signal strength values 2012-03-19 23:06:40 -03:00
mantis [media] [trivial] mantis: Fix typo in mantis_hif.c 2012-02-27 08:47:04 -03:00
ngene [media] drxk: Don't assume a default firmware name 2012-01-21 13:45:25 -02:00
pluto2 [media] tuners: remove dvb_frontend_parameters from set_params() 2011-12-31 08:57:29 -02:00
pt1 [media] dvb: earth-pt1: remove unsupported net subdevices 2012-03-19 15:48:13 -03:00
siano Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-03-15 17:06:05 -07:00
ttpci [media] av7110: convert set_fontend to use DVBv5 parameters 2011-12-31 09:15:04 -02:00
ttusb-budget Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
ttusb-dec Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
Kconfig [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00
Makefile [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00