Re: [PATCH 1/2] firmware: imx: make sure MU irq can wake up system from suspend mode
From: Shawn Guo
Date: Wed Jun 17 2020 - 09:48:31 EST
On Fri, Apr 24, 2020 at 07:07:10AM +0800, Anson Huang wrote:
> IRQF_NO_SUSPEND flag is set for MU IRQ of IPC work, but with this
> flag set, IRQD_WAKEUP_ARMED flag will NOT be set during
> suspend_device_irq() phase, then when MU IRQ arrives, it will NOT
> wake up system from suspend.
>
> To fix this issue, pm_system_wakeup() is called in general MU IRQ
> handler to make sure system can be waked up when MU IRQ arrives.
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
I see you guys haven't got agreement on patch #2, so applied #1 only.
Shawn