commit | 8f9b6d245b3b892a1ca9f853011a0817a2afa31a | [log] [tgz] |
---|---|---|
author | Larry Johnson <lrj@acm.org> | Thu Feb 21 13:58:16 2008 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Fri Feb 22 16:33:09 2008 +0100 |
tree | a5a4bcff6943bf094173e7355183ca987c8e96aa | |
parent | 548a7caf0587ac77b42a8add005d8c8926243cd4 [diff] |
LM75 bug fix for negative temperatures 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@acm.org>