]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (pmbus) Improve support for paged temperature sensors
authorGuenter Roeck <guenter.roeck@ericsson.com>
Sun, 6 Mar 2011 18:56:52 +0000 (10:56 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 05:39:09 +0000 (22:39 -0700)
commit9794ad68cfab9d13900ded5d72e744e8033fae1c
treec7b09bb99d93bbb3becf765ce2103c38c321ba1a
parenta34781d3832c3cd5a540a45c2d677db6e8df62fc
hwmon: (pmbus) Improve support for paged temperature sensors

Assumption so far was that PMBus devices would support TEMP2 and TEMP3 registers
only on page 0, and that only the TEMP1 register would be used/supported
on other pages.

Turns out that is not correct. UCD92xx devices support TEMP1 and TEMP2 on
page 0, and TEMP2 on other pages. So it is necessary to change the core code
such that it does not make a page based assumptions about temperature register
support.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/pmbus_core.c