diff options
| author | Guenter Roeck <[email protected]> | 2011-07-30 06:05:25 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2011-08-11 17:14:12 +0000 |
| commit | 3a2805e845761ea76a6ad5688d637b2624de0cab (patch) | |
| tree | cef5521d2223fe2ab9a686699c52a4c2c6d045f2 /lib/mpi/mpi-cmp.c | |
| parent | hwmon: (pmbus) Virtualize pmbus_write_byte (diff) | |
| download | kernel-3a2805e845761ea76a6ad5688d637b2624de0cab.tar.gz kernel-3a2805e845761ea76a6ad5688d637b2624de0cab.zip | |
hwmon: (pmbus/lm25066) Ignore byte writes to non-zero pages
pmbus_clear_faults() attempts to clear faults on non-existing real pages.
As a result, the command error bit in the status register is set, and faults
are not really cleared.
All byte writes to non-zero pages are requests to clear the status register
on that page. Since non-zero pages are virtual and do not exist on the chip,
there is nothing to do, and such requests have to be ignored. This fixes
above problem.
Signed-off-by: Guenter Roeck <[email protected]>
Reviewed-by: Robert Coulson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
