diff options
author | Guenter Roeck <linux@roeck-us.net> | 2022-11-04 16:37:30 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-11-04 16:47:01 -0700 |
commit | 1e699e177e339e462cdc8571e3d0fcf29665608e (patch) | |
tree | d0a6046e7c3e87c417b9f006a42242aac0dcb380 /drivers/gpu/drm/msm/dp/dp_display.c | |
parent | c4f683731db330460d909bd0ca8d5af876fcdc97 (diff) | |
download | linux-1e699e177e339e462cdc8571e3d0fcf29665608e.tar.bz2 |
Revert "hwmon: (pmbus) Add regulator supply into macro"
This reverts commit 54cc3dbfc10dc3db7cb1cf49aee4477a8398fbde.
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: 54cc3dbfc10d ("hwmon: (pmbus) Add regulator supply into macro")
Cc: Marcello Sylvester Bauer <sylv@sylv.io>
Reported-by: Zev Weiss <zev@bewilderbeest.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/gpu/drm/msm/dp/dp_display.c')
0 files changed, 0 insertions, 0 deletions