diff options
author | Anson Huang <b20788@freescale.com> | 2013-09-10 16:23:26 -0400 |
---|---|---|
committer | Anson Huang <b20788@freescale.com> | 2013-09-12 10:57:06 -0400 |
commit | ac9dc75cc8d32227aa16f21ab41b8b6a79afba51 (patch) | |
tree | 93a10c61d8f77fc24f6d6867dc8032cc9932f03e | |
parent | 3ecc9ebf1851020a7c9bca302bed579adee35914 (diff) |
ENGR00278941-2: arm: imx: correct LDO bypass flow logic
The LDO analog bypass switch is necessary before entering DSM when LDO
is working at digital bypass mode, previous coding logic is incorrect,
fix it.
Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r-- | arch/arm/mach-imx/suspend-imx6.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/suspend-imx6.S b/arch/arm/mach-imx/suspend-imx6.S index 4a86446bdea6..a620560a5e26 100644 --- a/arch/arm/mach-imx/suspend-imx6.S +++ b/arch/arm/mach-imx/suspend-imx6.S @@ -619,8 +619,9 @@ rbc_loop: */ ldr r8, =IMX_IO_P2V(MX6Q_ANATOP_BASE_ADDR) ldr r7, [r8, #MX6Q_ANATOP_CORE] - ands r7, r7, #0x1f - beq ldo_check_done1 + and r7, r7, #0x1f + cmp r7, #0x1f + bne ldo_check_done1 ldo_analog_bypass: ldr r7, [r8, #MX6Q_ANATOP_CORE] bic r7, r7, #0x1f |