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>
1 file changed