diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-07-31 00:59:53 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-07-31 01:04:24 +0200 |
commit | 70b4d1a9a62e1317ced98fef24b67870c6026fba (patch) | |
tree | 2f30bd2832e0b317a777862a7d5972aa16eac817 | |
parent | 17e48e81af9359e33c1d4c983b4705f6b1b86c78 (diff) | |
download | rockbox-70b4d1a9a62e1317ced98fef24b67870c6026fba.tar.gz rockbox-70b4d1a9a62e1317ced98fef24b67870c6026fba.zip |
imx233: fix horrible bug in linreg offset calculation
This was actually harmless because it was only used for the debug screen.
Change-Id: I76e802c947fdefa8df498ecfeb53e4b6ce0e12bb
-rw-r--r-- | firmware/target/arm/imx233/power-imx233.c | 4 |
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 | |||
326 | #define ADD_REGULATOR_LINREG(name) \ | 326 | #define ADD_REGULATOR_LINREG(name) \ |
327 | .linreg_bm = BM_POWER_##name##CTRL_ENABLE_LINREG | 327 | .linreg_bm = BM_POWER_##name##CTRL_ENABLE_LINREG |
328 | #define ADD_REGULATOR_LINREG_OFFSET(name) \ | 328 | #define ADD_REGULATOR_LINREG_OFFSET(name) \ |
329 | .linreg_offset_bm = BP_POWER_##name##CTRL_LINREG_OFFSET, \ | 329 | .linreg_offset_bm = BM_POWER_##name##CTRL_LINREG_OFFSET, \ |
330 | .linreg_offset_bp = BM_POWER_##name##CTRL_LINREG_OFFSET | 330 | .linreg_offset_bp = BP_POWER_##name##CTRL_LINREG_OFFSET |
331 | 331 | ||
332 | #if IMX233_SUBTARGET >= 3700 | 332 | #if IMX233_SUBTARGET >= 3700 |
333 | [REGULATOR_VDDD] = | 333 | [REGULATOR_VDDD] = |