diff options
author | Juan Gutierrez <juan.gutierrez@nxp.com> | 2016-09-26 16:51:06 -0500 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 0565902cb06a4a0ac7bbe80ad86e51e5c73383b5 (patch) | |
tree | 1f4bab603a47f25487b9f029e13264e5ad25c27e | |
parent | f0f665acb5caa3c1086eb64ed069e103e78275c0 (diff) |
MLK-13280 ARM: imx: missing mmdc read fifo reset on resume
When a device like (USB, CAMM, tty, etc) prevents the megamix
domain to power down during the suspend process (by enabling
a wakeup source) the resume process goes through a path where
the MMDC context should not be restored. However this resume
path does not reset the read fifo MMDCx_MPDGCTRL0[RST_RD_FIFO]
for the platforms with LPDDR2 causing a bad resuming and reset
of the device due to an exception.
This patch adds the reset_read_fifo on the No-restoring-MMDC
path to fix the bad resuming.
Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
Signed-off-by: Alejandro Sierra <b18039@freescale.com>
-rw-r--r-- | arch/arm/mach-imx/suspend-imx6.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/suspend-imx6.S b/arch/arm/mach-imx/suspend-imx6.S index c50fefcfe14c..b8ad48fc85a9 100644 --- a/arch/arm/mach-imx/suspend-imx6.S +++ b/arch/arm/mach-imx/suspend-imx6.S @@ -300,6 +300,7 @@ bne 13f 12: resume_iomuxc_gpr + reset_read_fifo b 17f 13: |