regulator: fixed: Modify enable-active-high behavior
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 26 Aug 2019 11:50:31 +0000 (13:50 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 14:10:19 +0000 (10:10 -0400)
commite8e9715df2d408c57d14addff94105001c82f2ac
tree71c692efbfcf8eff2fdfaf6f853a7e9078d75dd9
parent5b7a2bf318e1358f978180a51fd5a305723d165b
regulator: fixed: Modify enable-active-high behavior

Regulator should not be enabled at probe time if regulator-boot-on
property is not in the dt node.

"enable-active-high" property is only used to indicate the GPIO
polarity.

See kernel documentation :
 - Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
 - Documentation/devicetree/bindings/regulator/gpio-regulator.yaml

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/power/regulator/regulator_common.c