]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:06:50 +0000 (14:06 +0200)
commita66314e41f7a4ba476a9fc2bc232faa37317c123
treeec2411cadf8158f4fb702f872d5eaf6d1cb3fb5e
parent54df5a37f1d951ed27fd47bf9b15a42279582110
mailbox: imx: fix wakeup failure from freeze mode

commit 892cb524ae8a27bf5e42f711318371acd9a9f74a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mailbox/imx-mailbox.c