[linux-dvb] PATCH: Fix corrupted signal strength value in mt352.c

Barry Scott barry.scott at onelan.co.uk
Fri Jul 8 17:23:56 CEST 2005

Here is a patch to 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mt352.c.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20050708/357d422b/mt352.c.bin

More information about the linux-dvb mailing list