kernel-ark/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 [media] DVB: dvb-net, make the kconfig text helpful 2011-07-27 17:53:09 -03:00
Makefile [media] media: Entities, pads and links 2011-03-22 04:53:10 -03:00
media-device.c [media] media: fix truncated entity specification 2011-12-20 09:31:50 -02:00
media-devnode.c [media] media: Initialize the media core with subsys_initcall() 2012-03-19 19:02:22 -03:00
media-entity.c [media] media: Properly handle link flags in link setup, link notify callback 2011-04-17 07:43:32 -03:00