hwmon: (pmbus) Fix temperature limit register access
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 22 Mar 2011 04:31:00 +0000 (21:31 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 26 Mar 2011 16:53:56 +0000 (09:53 -0700)
commit3506999e2fd1eb7ed7375eaa67dcc1d1d60e8ccd
tree8809f96a42cbb1c5fe43f7bfc2d23c25aaf2bbed
parent16c29dafcc86024048f1dbb8349d31cb22c7c55a
hwmon: (pmbus) Fix temperature limit register access

Commit 8677011 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: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/pmbus_core.c
This page took 0.025472 seconds and 5 git commands to generate.