diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2020-12-21 01:32:51 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-01-06 11:04:01 +0100 |
commit | e93d7d696e9675056775a0314ad1b57f81dd33d2 (patch) | |
tree | 90e81fccd03019c09b776cedfad86bf77df28a6e /drivers/usb | |
parent | deaacdd87bb314ffc69d6820b01cc4c50a5acf38 (diff) | |
download | barebox-e93d7d696e9675056775a0314ad1b57f81dd33d2.tar.gz barebox-e93d7d696e9675056775a0314ad1b57f81dd33d2.tar.xz |
regulator: stm32-pwr: don't propagate regulator turn-off to supply
Linux walks up the regulator supply chain in the core code, which we
don't do in barebox. Instead the stm32-pwr driver did enable/disable its
parent manually. This is problematic, because it doesn't respect
the regulator-always-on flag the parent supply may have, leading to
prohibited disabling of regulators. Work around this by dropping the
regulator disable altogether and just enable the parent supply
unconditionally.
When we gain proper regulator supply chain handling, this patch can be
reverted.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions