commit | 22e6b2312d221376dcd98a8afb0f314b62d33a91 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Sun Jul 03 13:08:03 2011 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun Jul 10 08:54:29 2011 -0700 |
tree | 73906c8f5f2a381fe085d3660ef333e99c871926 | |
parent | 0c2a40e2fe4f4af0410f57e84b95b817ec15aa70 [diff] |
hwmon: (pmbus) Improve auto-detection of temperature status register It is possible that a PMBus device supports the READ_TEMPERATURE2 and/or READ_TEMPERATURE3 registers but does not support READ_TEMPERATURE1. Improve temperature status register detection to address this condition. Reported-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Acked-by: Jean Delvare <khali@linux-fr.org> Cc: stable@kernel.org # 2.6.39+