From 0565902cb06a4a0ac7bbe80ad86e51e5c73383b5 Mon Sep 17 00:00:00 2001 From: Juan Gutierrez Date: Mon, 26 Sep 2016 16:51:06 -0500 Subject: 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 Signed-off-by: Alejandro Sierra --- arch/arm/mach-imx/suspend-imx6.S | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3