Skip to contentSkip to conversation

power: pfuze100: fix LDO_EN bit value

PATCH New Tim Harvey 2 participants 2 messages Apr 3, 2015 – Apr 22, 2015

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 power: pfuze100: fix LDO_EN bit value

The LDO_EN is bit 4, not value 4. This is only used on the Ventana boards so we will change it in the header as the other values there are in terms of values and not bit numbers.

---
 include/power/pfuze100_pmic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/power/pfuze100_pmic.h +1 -1
index 07199b4..8e7a22d 100644
@@ -180,7 +180,7 @@ enum {
 #define LDOB_3_30V	15
 
 #define LDO_VOL_MASK	0xf
-#define LDO_EN		4
+#define LDO_EN		(1 << 4)
 
 /*
  * Boost Regulator
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 power: pfuze100: fix LDO_EN bit value

Quoted 6 lines · Tim Harvey

The LDO_EN is bit 4, not value 4. This is only used on the Ventana boards so we will change it in the header as the other values there are in terms of values and not bit numbers.

---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================