diff options
author | Larry Johnson <lrj@acm.org> | 2008-02-21 13:58:11 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-13 08:58:36 -0700 |
commit | 7754f33c6fb7a2c050388d20bf3847038558bdcf (patch) | |
tree | b638b75d671f55ff357c78e6bfabb5cfd3ed7aa7 /drivers/mtd/dataflash.c | |
parent | 950a392464e616b4590bc4501be46e2d7d162dea (diff) | |
download | u-boot-imx-7754f33c6fb7a2c050388d20bf3847038558bdcf.zip u-boot-imx-7754f33c6fb7a2c050388d20bf3847038558bdcf.tar.gz u-boot-imx-7754f33c6fb7a2c050388d20bf3847038558bdcf.tar.bz2 |
LM73 bug fix for negative temperatures and cleanup
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@acm.org>
Diffstat (limited to 'drivers/mtd/dataflash.c')
0 files changed, 0 insertions, 0 deletions