power: regulator: denied disable on always-on regulator
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 15 Nov 2018 12:45:31 +0000 (13:45 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:06:44 +0000 (06:06 -0700)
commit4f86a724e82c0b74d9ffb7b65f8ae4b011dd0b03
treeaddbdb07007e58578bc2438884faaabfd4672fe9
parent7959882049a9b389c131eff9a128437ee8ebe08e
power: regulator: denied disable on always-on regulator

Don't disable regulator which are tagged as "regulator-always-on" in DT.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jack Mitchell <jack@embed.me.uk>
Tested-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Richard Röjfors <richard@puffinpack.se>
Tested-by: Richard Röjfors <richard@puffinpack.se>
Reviewed-by: Felix Brack <fb@ltec.ch>
Tested-by: Felix Brack <fb@ltec.ch>
drivers/power/regulator/regulator-uclass.c