]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: imx: keep MU irq working during suspend/resume
authorAnson Huang <anson.huang@nxp.com>
Tue, 12 Feb 2019 12:40:25 +0000 (12:40 +0000)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 11 Mar 2019 07:51:43 +0000 (02:51 -0500)
commitabbe8265a61e00d8dd85f0c4b81539b08f1c39f8
tree55ff034597253959b7e0ce190db55bb7d93fc1f6
parentea127fb4a84f07f3ab8278894ae1fd518508e150
mailbox: imx: keep MU irq working during suspend/resume

During noirq suspend phase, mailbox MU irq will be masked
but many drivers still need to communicate with system
controller firmware via mailbox, if MU irq is masked, it
will cause RPC timeout as below:

[   23.372103] imx-scu scu: RPC send msg timeout

Setting MU irq to be wakeup source is NOT working as GIC
driver does NOT have .irq_set_wake implemented, so to
support suspend/resume, just make imx mailbox driver NOT
suspend, since MU is always a wakeup source on i.MX platforms
with system controller inside, and its power/clock is
maintained by system controller, mailbox driver no need
to manage them.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/imx-mailbox.c