lsb in emc6d102 and adm1027

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

 



Em Mon 21 Mar 2005 04:40, Philip Pokorny escreveu:
>
> This doesn't look right.  The lm85_read_value() function generally only
> returns an 8-bit value.  In some cases it returns 16 bits but those are
> exceptions, and you haven't added the EMC6D102 registers to that
> exception list.
>
> So how can you shift ext4, ext3, ext1, etc right 8 bits and have a value
> with any meaning?
>
> Perhaps you meant to shift by only 4 bits to get the high nibble?
> :v)

Yes, you are wright. What a embarrassing error....

A corrected patch is attached. Thanks.

Rafael

Signed-off-by: Rafael ?vila de Esp?ndola <rafael.espindola at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emc6d102-kernel.patch
Type: text/x-diff
Size: 7526 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050321/a408e4f3/attachment.bin 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux