commit | c5e6763667ffc94eaad4634841cb1b7ecd951fb7 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <guenter.roeck@ericsson.com> | Tue Aug 02 11:08:57 2011 -0700 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Mon Oct 24 11:09:34 2011 -0700 |
tree | 9f12484699dc25462e3275fba42bba65f47644d6 | |
parent | 866cf12a0eab65f94e40608bdd21ca8dea4d0ac2 [diff] |
hwmon: (pmbus/adm1275) Add support for second current limit ADM1275 supports a second current limit, which can be configured as either lower or upper limit. Add support for it and report it as either lower or upper critical current limit. Also replace error return code EINVAL for unsupported pages with ENXIO as this is more appropriate for the observed condition. Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Acked-by: Jean Delvare <khali@linux-fr.org>