]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
power: pfuze100: fix LDO_EN bit value
authorTim Harvey <tharvey@gateworks.com>
Fri, 3 Apr 2015 23:56:16 +0000 (16:56 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:42:50 +0000 (14:42 +0200)
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.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
include/power/pfuze100_pmic.h

index 07199b4f89ac2244fb07daf134ec31f5e265bfec..8e7a22d020f648cc3e88da48b8b9aee1708734b1 100644 (file)
@@ -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