Commit 1e699e1
committed
Revert "hwmon: (pmbus) Add regulator supply into macro"
This reverts commit 54cc3db.
Zev Weiss reports that the reverted patch may cause a regulator
undercount. Here is his report:
... having regulator-dummy set as a supply on my PMBus regulators
(instead of having them as their own top-level regulators without
an upstream supply) leads to enable-count underflow errors when
disabling them:
# echo 0 > /sys/bus/platform/devices/efuse01/state
[ 906.094477] regulator-dummy: Underflow of regulator enable count
[ 906.100563] Failed to disable vout: -EINVAL
[ 136.992676] reg-userspace-consumer efuse01: Failed to configure state: -22
Zev reports that reverting the patch fixes the problem. So let's do that
for now.
Fixes: 54cc3db ("hwmon: (pmbus) Add regulator supply into macro")
Cc: Marcello Sylvester Bauer <[email protected]>
Reported-by: Zev Weiss <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>1 parent c4f6837 commit 1e699e1
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
471 | 470 | | |
472 | 471 | | |
473 | 472 | | |
| |||
0 commit comments