hwmon: (lm75) sensor reading bugfix
authorDavid Brownell <david-b@pacbell.net>
Sun, 4 May 2008 02:19:16 +0000 (19:19 -0700)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 19 Jun 2008 10:50:32 +0000 (06:50 -0400)
commitbcccc3a28e9cbb44549cde326852c26203a53a56
treea4d3af720b9763313ca7104e060cdf2ea841f726
parentb3aeab0cdbd0fe5339a3a5918b59eebf148cbcd1
hwmon: (lm75) sensor reading bugfix

LM75 sensor reading bugfix: never save error status as valid
sensor output.  This could be improved, but at least this
prevents certain rude failure modes.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/lm75.c