* [PATCH v2] regulator: axp20x: fix BLDO2 definition for AXP806
@ 2019-02-18 10:39 megous
0 siblings, 0 replies; only message in thread
From: megous @ 2019-02-18 10:39 UTC (permalink / raw)
To: dev
Cc: Ondrej Jirman, Chen-Yu Tsai, Liam Girdwood, Mark Brown,
open list:VOLTAGE AND CURRENT REGULATOR FRAMEWORK
From: Ondrej Jirman <megous@megous.com>
This fixes an error from the refactoring of literals to mask preproccesor
definitions that was done during the 5.0 release cycle.
Found by debugging a broken voltage setup on Orange Pi One Plus.
Fixes: db4a555f7c4cf ("regulator: axp20x: use defines for masks")
Signed-off-by: Ondrej Jirman <megous@megous.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
---
This is a regression introduced during a 5.0 release cycle.
v2:
- dropped part of the fix that was already sent out by Rask Ingemann Lambertsen
a few days ago
- reworded description accordingly
- added acked-by
drivers/regulator/axp20x-regulator.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c
index 1b51d557ab55..62243957bd19 100644
--- a/drivers/regulator/axp20x-regulator.c
+++ b/drivers/regulator/axp20x-regulator.c
@@ -817,7 +817,7 @@ static const struct regulator_desc axp806_regulators[] = {
AXP806_BLDO1_V_CTRL, AXP806_BLDO1_V_CTRL_MASK,
AXP806_PWR_OUT_CTRL2, AXP806_PWR_OUT_BLDO1_MASK),
AXP_DESC(AXP806, BLDO2, "bldo2", "bldoin", 700, 1900, 100,
- AXP806_BLDO2_V_CTRL, AXP806_BLDO2_V_CTRL,
+ AXP806_BLDO2_V_CTRL, AXP806_BLDO2_V_CTRL_MASK,
AXP806_PWR_OUT_CTRL2, AXP806_PWR_OUT_BLDO2_MASK),
AXP_DESC(AXP806, BLDO3, "bldo3", "bldoin", 700, 1900, 100,
AXP806_BLDO3_V_CTRL, AXP806_BLDO3_V_CTRL_MASK,
--
2.20.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-18 10:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-18 10:39 [PATCH v2] regulator: axp20x: fix BLDO2 definition for AXP806 megous
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®