mailbox: imx: fix wakeup failure from freeze mode
authorRobin Gong <yibin.gong@nxp.com>
Mon, 7 Feb 2022 01:52:06 +0000 (09:52 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sun, 13 Mar 2022 01:26:42 +0000 (19:26 -0600)
commit892cb524ae8a27bf5e42f711318371acd9a9f74a
tree4ff4f3968a73212290d2b55874f7339d9947e441
parentaf2dfa96c52d042df5deb29fb6e32d3ff4d76a61
mailbox: imx: fix wakeup failure from freeze mode

Since IRQF_NO_SUSPEND used for imx mailbox driver, that means this irq
can't be used for wakeup source so that can't wakeup from freeze mode.
Add pm_system_wakeup() to wakeup from freeze mode.

Fixes: b7b2796b9b31e("mailbox: imx: ONLY IPC MU needs IRQF_NO_SUSPEND flag")
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/imx-mailbox.c