V4L/DVB (6501): stv0297: Signal strength fixes
authorHartmut Birr <e9hack@googlemail.com>
Wed, 31 Oct 2007 05:04:16 +0000 (02:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 4 Nov 2007 23:41:25 +0000 (21:41 -0200)
commit85085ad7b2cc281a94bb406172ba938870863639
tree5de9da0d0153aee077f76c545d07012823a06877
parent7cccccc33aa9ab7171ca05c0b59c62912509b23e
V4L/DVB (6501): stv0297: Signal strength fixes

Fixes the signal strength value (higher value = higher signal strength)
and scales the value to the range of 0..ffff. The characteristic itself
is wrong. To get proper values on a TT-C2300 in the range of 40..60%
real signal strength, the values from the patch should be divide by two.
The attached patch doesn't fix the characteristic.

Signed-off-by: Hartmut Birr <e9hack@googlemail.com>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/stv0297.c