]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (lm80) reset device if error occurred
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Tue, 10 Jan 2012 14:49:36 +0000 (15:49 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:26:42 +0000 (18:26 -0700)
commit96585f1ae4698800a18582935e2f01bb65a44fe6
tree6eda4d63a8f8f5f38c38af17b337ac98d26f5ae8
parent6a9e7c4c0365e246d85166a5ee04a8dd4dcfada9
hwmon: (lm80) reset device if error occurred

If an error occurs while updating (e.g. because the chip was
disconnected) the device needs to be reinitialized in order
to get back to 11 bit temperature and set the fan divider.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/lm80.c