commit | 8d4dee98b10050db9c32a449e460a2f69bb558ec | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu May 27 19:58:58 2010 +0200 |
committer | Jean Delvare <khali@linux-fr.org> | Thu May 27 19:58:58 2010 +0200 |
tree | eb3eff50616859bffda22485f6f8f4a5a0bbe8b1 | |
parent | cff37c9e82e022068840b3d33167e64c6a0ecc06 [diff] |
hwmon: (tmp102) Fix suspend and resume functions Suspend and resume functions shouldn't overwrite the configuration register. They should only alter the one bit they have to touch. Also don't assume that register reads and writes always succeed. Handle errors properly, shall they happen. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Steven King <sfking@fdwdc.com>