Commit 3506999e authored by Guenter Roeck's avatar Guenter Roeck

hwmon: (pmbus) Fix temperature limit register access

Commit 8677011a added auto-update to temperature limit registers.
Unfortunately, the update flag is also used to determine if an attribute
is writable, which results in read-only temperature limit registers.
To fix the problem, pass 'readonly' as separate flag to the function used
to add sensor attributes.
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent 16c29daf
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment