imx233: fix horrible bug in linreg offset calculation

This was actually harmless because it was only used for the debug screen.

Change-Id: I76e802c947fdefa8df498ecfeb53e4b6ce0e12bb
This commit is contained in:
Amaury Pouly 2017-07-31 00:59:53 +02:00
parent 17e48e81af
commit 70b4d1a9a6

View file

@ -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] =