summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/s5h1420.c
diff options
context:
space:
mode:
authorBarry Scott <barry.scott@onelan.co.uk>2005-09-09 13:02:29 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 13:57:37 -0700
commit4ff4ac1beae58a2fea7ec2ad43d6c3b60d90ec61 (patch)
tree88f7f1956d0f0514d04ea78cbb2352c4f583c2d1 /drivers/media/dvb/frontends/s5h1420.c
parent50b447d5b70dc4021ae3b4eaf8ce98932f61a413 (diff)
downloadblackbird-op-linux-4ff4ac1beae58a2fea7ec2ad43d6c3b60d90ec61.tar.gz
blackbird-op-linux-4ff4ac1beae58a2fea7ec2ad43d6c3b60d90ec61.zip
[PATCH] dvb: frontend: mt352: fix signal strength reading
Fix two problems with the signal strength value in the mt352.c frontend: 1. the 4 most significant bits are zeroed - shift and mask wrong way round 2. need to align the 12 bits from the registers at the top of the 16 bit returned value - otherwise the range is not 0 to 0xffff its 0xf000 to 0xffff Signed-off-by: Barry Scott <barry.scott@onelan.co.uk> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/frontends/s5h1420.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud