From: Barry Scott Date: Fri, 9 Sep 2005 20:02:29 +0000 (-0700) Subject: [PATCH] dvb: frontend: mt352: fix signal strength reading X-Git-Tag: v2.6.14-rc1~427 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff4ac1beae58a2fea7ec2ad43d6c3b60d90ec61;p=pandora-kernel.git [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 Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed