commit | d01b847c5cd070895c4ba178c85cd068a95cf7cd | [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 | 5a910c224b13e413bda41922379add6d75c32da3 [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>