diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2020-04-27 11:09:47 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-15 16:37:01 -0400 |
commit | e88d6979d1fa0a11468204fa729229afc49d5bde (patch) | |
tree | 154f1aeb54e7aab20b14cbd11e0cfa19f68b1e93 /configs/guruplug_defconfig | |
parent | 287be3294af6179782f8a561afca427620504581 (diff) |
regulator: fix: enable gpio when requested
The fix in commit b7adcdd073c0 has the side-effect that the regulator
will be disabled when requesting the relevant gpio in
regulator_common_ofdata_to_platdata() and enabled in
regulator_pre_probe() when the regulator was already enabled.
This leads to a short interruption in the 3.3V power to the PCIe
slot on the firefly-rk3399 which makes an ADATA SX8000NP NVMe SSD
unhappy.
Fix this by setting the GPIOD_IS_OUT_ACTIVE flag again when the
'regulator-boot-on' property is set, but check for this property
explicitly instead of relying on the "boot_on" member of
the uclass platdata.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Tested-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'configs/guruplug_defconfig')
0 files changed, 0 insertions, 0 deletions