diff options
author | Guenter Roeck <linux@roeck-us.net> | 2019-12-12 09:14:34 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-01-23 13:15:09 -0800 |
commit | 9e347728c4fe0f0661194243384ac9f61d7a5c73 (patch) | |
tree | d601b417d40bbec1760081188efbdf08e115e20e /ipc | |
parent | d21ed22ba7b110746315dff56f62d76352ac5437 (diff) | |
download | linux-9e347728c4fe0f0661194243384ac9f61d7a5c73.tar.bz2 |
hwmon: (pmbus) Detect if chip is write protected
If a chip is write protected, we can not change any limits, and we can
not clear status flags. This may be the reason why clearing status flags
is reported to not work for some chips. Detect the condition in the pmbus
core. If the chip is write protected, set limit attributes as read-only,
and set the flag indicating that the status flag should be ignored.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions