]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee84ed6c1732cda71ae3436375d9a9f98a90b7d7
tree4ff4f3968a73212290d2b55874f7339d9947e441
parent4577e0a42cbbd89f8269e8ce29e29c2934905a0e
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: 537adb6f99889("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