diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-06-03 13:15:44 +0800 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2020-06-07 16:11:35 -0500 |
commit | b7b2796b9b31e3dcbd563bcf8f983a79bb81163d (patch) | |
tree | 19917cf3beab4e503c81b10fb039932d0b7834d7 /drivers/usb/host/imx21-dbg.c | |
parent | bb2b2624dbe27246bd1ee087f2d50f80daa6622c (diff) |
mailbox: imx: ONLY IPC MU needs IRQF_NO_SUSPEND flag
IPC MU has no power domain assigned and there could be IPC during
noirq suspend phase, so IRQF_NO_SUSPEND flag is needed for IPC MU.
However, for other MUs, they have power domain assigned and their
power will be turned off during noirq suspend phase, but with
IRQF_NO_SUSPEND set, their interrupts are NOT disabled even after
their power turned off, it will cause system crash when mailbox
driver trys to handle pending interrupts but the MU power is already
turned off.
So, IRQF_NO_SUSPEND flag should ONLY be added to IPC MU which has
power domain managed by SCU, then all other MUs' pending interrupts
after noirq suspend phase will be handled after system resume.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/usb/host/imx21-dbg.c')
0 files changed, 0 insertions, 0 deletions