projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de8612
)
hwmon: (pmbus_core) Fix maximum number of POUT alarm attributes
author
Guenter Roeck
<
[email protected]
>
Sun, 4 Mar 2012 16:10:57 +0000
(08:10 -0800)
committer
Guenter Roeck
<
[email protected]
>
Wed, 7 Mar 2012 17:48:42 +0000
(09:48 -0800)
There are up to three POUT alarm attributes, not two, since cap_alarm was added.
Reported-by: Michele Petracca <
[email protected]
>
Cc:
[email protected]
# 3.0+ [3.0 will need backport]
Signed-off-by: Guenter Roeck <
[email protected]
>
drivers/hwmon/pmbus/pmbus_core.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/pmbus/pmbus_core.c
b/drivers/hwmon/pmbus/pmbus_core.c
index 00460d8d84239e57c880238469df0f2965c9b976..d89b33967a852b8975f09cb5cea88371f1d52e85 100644
(file)
--- a/
drivers/hwmon/pmbus/pmbus_core.c
+++ b/
drivers/hwmon/pmbus/pmbus_core.c
@@
-54,7
+54,8
@@
lcrit_alarm, crit_alarm */
#define PMBUS_IOUT_BOOLEANS_PER_PAGE 3 /* alarm, lcrit_alarm,
crit_alarm */
-#define PMBUS_POUT_BOOLEANS_PER_PAGE 2 /* alarm, crit_alarm */
+#define PMBUS_POUT_BOOLEANS_PER_PAGE 3 /* cap_alarm, alarm, crit_alarm
+ */
#define PMBUS_MAX_BOOLEANS_PER_FAN 2 /* alarm, fault */
#define PMBUS_MAX_BOOLEANS_PER_TEMP 4 /* min_alarm, max_alarm,
lcrit_alarm, crit_alarm */