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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Barry

 
-------------- 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

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux