summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-07-31 00:59:53 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-07-31 01:04:24 +0200
commit70b4d1a9a62e1317ced98fef24b67870c6026fba (patch)
tree2f30bd2832e0b317a777862a7d5972aa16eac817 /firmware
parent17e48e81af9359e33c1d4c983b4705f6b1b86c78 (diff)
imx233: fix horrible bug in linreg offset calculation
This was actually harmless because it was only used for the debug screen. Change-Id: I76e802c947fdefa8df498ecfeb53e4b6ce0e12bb
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/imx233/power-imx233.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/power-imx233.c b/firmware/target/arm/imx233/power-imx233.c
index 22b70bc9dc..9b9c13573a 100644
--- a/firmware/target/arm/imx233/power-imx233.c
+++ b/firmware/target/arm/imx233/power-imx233.c
@@ -326,8 +326,8 @@ static struct
#define ADD_REGULATOR_LINREG(name) \
.linreg_bm = BM_POWER_##name##CTRL_ENABLE_LINREG
#define ADD_REGULATOR_LINREG_OFFSET(name) \
- .linreg_offset_bm = BP_POWER_##name##CTRL_LINREG_OFFSET, \
- .linreg_offset_bp = BM_POWER_##name##CTRL_LINREG_OFFSET
+ .linreg_offset_bm = BM_POWER_##name##CTRL_LINREG_OFFSET, \
+ .linreg_offset_bp = BP_POWER_##name##CTRL_LINREG_OFFSET
#if IMX233_SUBTARGET >= 3700
[REGULATOR_VDDD] =