linux/drivers/media
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
..
common [media] media: tuners: append $(srctree) to -I parameters 2012-03-08 10:41:15 -03:00
dvb [media] stb0899: fix the limits for signal strength values 2012-03-19 23:06:40 -03:00
radio [media] radio-sf16fmr2: fix session mismatches 2012-03-19 13:32:37 -03:00
rc [media] rc: Pospone ir raw decoders loading until really needed 2012-03-19 22:11:04 -03:00
video [media] em28xx: support for 2304:0242 PCTV QuatroStick (510e) 2012-03-19 22:44:46 -03:00
Kconfig
Makefile
media-device.c
media-devnode.c [media] media: Initialize the media core with subsys_initcall() 2012-03-19 19:02:22 -03:00
media-entity.c