From 08314b4994ab781d6568ac3cabe393f6664ad131 Mon Sep 17 00:00:00 2001 From: Chris Lew Date: Mon, 20 May 2019 14:39:40 -0700 Subject: [PATCH] mailbox: msm_qmp: Remove IRQF_NO_SUSPEND. The qmp interrupt is a hardware wake capable interrupt. Using the IRQF_NO_SUSPEND flag still allows this interrupt to resume the CPUs because the interrupt is left unmasked on the gic. Remove this flag and use enable_irq_wake so the wakeup interrupt is properly accounted for. Change-Id: I7e55b9feff43da6bda5d1eca12bf92f98be1c9f7 Bug: 123377615 Bug: 131260677 --- drivers/mailbox/msm_qmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/msm_qmp.c b/drivers/mailbox/msm_qmp.c index 726f65677b5b..352bb535a293 100644 --- a/drivers/mailbox/msm_qmp.c +++ b/drivers/mailbox/msm_qmp.c @@ -978,7 +978,7 @@ static int qmp_mbox_probe(struct platform_device *pdev) mdev->name); ret = devm_request_irq(&pdev->dev, mdev->rx_irq_line, qmp_irq_handler, - IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND | IRQF_SHARED, + IRQF_TRIGGER_RISING | IRQF_SHARED, edge_node->name, mdev); if (ret < 0) { qmp_mbox_remove(pdev);