[U-Boot-Users] [PATCH] LM73 bug fix for negative temperatures and cleanup

Wolfgang Denk wd at denx.de
Sun Apr 13 19:17:33 CEST 2008


In message <47BDC9C3.90504 at acm.org> you wrote:
> When the LM73 temperature sensor measures a temperature below 0 C, the
> current driver does not perform sign extension, so the result returned is
> 512 C too high.  This patch fixes the problem, and does general cleanup
> of the code.
> 
> Signed-off-by: Larry Johnson <lrj at acm.org>
> ---
>  drivers/hwmon/lm73.c |   60 +++++++++++++++++++++++++-------------------------
>  1 files changed, 30 insertions(+), 30 deletions(-)

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
Even if you aren't in doubt, consider the mental welfare of the  per-
son who has to maintain the code after you, and who will probably put
parens in the wrong place.          - Larry Wall in the perl man page




More information about the U-Boot mailing list