[media] s5h1411: Calculate signal strength shown as percentage from SNR up to 35dB
authorMichael Krufky <mkrufky@linuxtv.org>
Mon, 31 Oct 2011 11:12:54 +0000 (08:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 Nov 2011 15:20:17 +0000 (13:20 -0200)
commitead32d5357e4aae732ccd7427073ab4bf30d3068
tree7607112de5d1b690751442b2d3cf5aebcb5f324a
parent19661c08fe11590e04832ed8b3cabe5e4bf11e48
[media] s5h1411: Calculate signal strength shown as percentage from SNR up to 35dB

As done first in lgdt330x.c, calculate signal strength from SNR up to 35dB
Even though the SNR can go higher than 35dB, there is some comfort factor
in having a range of strong signals that can show at 100%

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1411.c