summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c b/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c
index 692f158..2c64a9a 100644
--- a/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c
+++ b/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c
@@ -615,7 +615,7 @@ int power_init_board(void)
reg |= 0x80;
pmic_reg_write(dev, PFUZE3000_VLDO3CTL, reg);
- pmic_reg_read(dev, PFUZE3000_SW2MODE);
+ reg = pmic_reg_read(dev, PFUZE3000_SW2MODE);
reg |= 0x20;
pmic_reg_write(dev, PFUZE3000_SW2MODE, reg);