summaryrefslogtreecommitdiff
path: root/lib_i386/pci.c
diff options
context:
space:
mode:
authorLarry Johnson <lrj@acm.org>2008-02-21 13:58:16 -0500
committerWolfgang Denk <wd@denx.de>2008-02-22 16:33:09 +0100
commitd01b847c5cd070895c4ba178c85cd068a95cf7cd (patch)
treea5a4bcff6943bf094173e7355183ca987c8e96aa /lib_i386/pci.c
parent5a910c224b13e413bda41922379add6d75c32da3 (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>
Diffstat (limited to 'lib_i386/pci.c')
0 files changed, 0 insertions, 0 deletions