summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2018-10-12 23:09:22 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:34:31 +0800
commit820cda21c4fddfcca50a0019cac8c123f97a1708 (patch)
tree63c043822f570bf0871eb3bcc9dae3c415865851 /drivers/soc
parent1a7bf1f5eefb8257a16f3b01e5b5545ddb1ac473 (diff)
MLK-19884: soc: imx: sc: main: ipc: fix onoff key can't wakeup kernel from 'freeze' mode
That caused by commit d5c4a949522f6 ("MLK-19515 soc: imx: ipc: remove unnecessary set wake for mu") which remove irq_set_irq_wakeup directly. Actually, we can keep that in driver without set_irq_wake() interface in GIC driver if cherry-pick commit 4110b5cbb014e ("irqchip/gic-v3: Allow interrupt to be configured as wake-up sources") from upstreaming kernel. Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/imx/sc/main/ipc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/soc/imx/sc/main/ipc.c b/drivers/soc/imx/sc/main/ipc.c
index fd888a07672b..f795b2465e8a 100644
--- a/drivers/soc/imx/sc/main/ipc.c
+++ b/drivers/soc/imx/sc/main/ipc.c
@@ -344,6 +344,8 @@ int __init imx8_mu_init(void)
irq, err);
return err;
}
+
+ irq_set_irq_wake(irq, 1);
}
if (!scu_mu_init) {