Commits

Anson Huang committed 338f6c4591d
MLK-12025 ARM: imx: M4 should be in RUN mode when resume from DSM On i.MX7D, only when M4 enters STOP mode, system is able to enter DSM mode where M4 power will be gated off. This is done by checking a variable which records M4's power mode. However, when system resume from DSM, M4 is re-enabled to RUN mode by A7, but the variable is NOT updated accordingly, so next time system suspend, even M4 is NOT in STOP mode, system can enter DSM mode, which is unexpected and would cause bus-freq use count mismatch. Fix this issue by reset M4 power mode to RUN mode when resume from DSM. Signed-off-by: Anson Huang <Anson.Huang@freescale.com> (cherry picked from commit d22127a8f395edaf719a5bf4874cf22c5bdc8661) Signed-off-by: Teo Hall <teo.hall@nxp.com>