MLK-21596 soc: imx: make sure MU irq can wake up system from freeze mode

Commit b24e5c5fca92 ("MLK-21078-3 soc: imx: enable RX interrupt
for IPC response") adds IPC RX IRQ support and need to add
IRQF_NO_SUSPEND flag for MU IRQ to make IPC work during system
suspend phase, but with this flag set, IRQD_WAKEUP_ARMED flag will
NOT be set during suspend_device_irq() phase, then when MU IRQ
arrives, it will NOT wake up system from s2idle.

To fix this issue, pm_system_wakeup() is called in general MU IRQ
handler to make sure system can be waked up when MU IRQ arrives.

Change-Id: I83075e1d7ac21da7fcfa89d90fe3d6cdf3aa1147
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Robin Gong<yibin.gong@nxp.com>
Signed-off-by: Leonid Lobachev <leonidl@google.com>
diff --git a/drivers/soc/imx/sc/main/ipc.c b/drivers/soc/imx/sc/main/ipc.c
index c070089..68ad92c 100644
--- a/drivers/soc/imx/sc/main/ipc.c
+++ b/drivers/soc/imx/sc/main/ipc.c
@@ -291,6 +291,7 @@
 		writel_relaxed(irqs, mu_base_virtaddr + 0x20);
 		/* Setup a bottom-half to handle the irq work. */
 		schedule_delayed_work(&scu_mu_work, 0);
+		pm_system_wakeup();
 	}
 	return IRQ_HANDLED;
 }