[U-Boot-Users] [PATCH] LM75 bug fix for negative temperatures

Wolfgang Denk wd at denx.de
Fri Feb 22 16:33:31 CET 2008


In message <47BDC9C8.6090303 at acm.org> you wrote:
> When the LM75 temperature sensor measures a temperature below 0 C, the
> current driver does not perform sign extension, so the result returned is
> 256 C too high.  This patch fixes the problem.
> 
> Signed-off-by: Larry Johnson <lrj at acm.org>

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
EMACS belongs in <sys/errno.h>: Editor too big!




More information about the U-Boot mailing list