lsb in emc6d102 and adm1027

Greg KH greg at kroah.com
Thu Mar 24 01:24:27 CET 2005


On Mon, Mar 21, 2005 at 08:42:51AM -0300, Rafael ?vila de Esp?ndola wrote:
> 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.

Applied, thanks.

greg k-h



More information about the lm-sensors mailing list