From ba05ace82d427ee0a4f58f9f263841edb304cad6 Mon Sep 17 00:00:00 2001 From: Deepak Kumar Singh Date: Mon, 14 Dec 2020 12:06:22 +0530 Subject: [PATCH] mailbox: msm_qmp: remove IRQF_NO_SUSPEND while requesting irq Using IRQF_NO_SUSPEND and enable_irq_wake together can sometime cause issue in wakeup from suspend and local host may not come out of suspend on receiving qmp interrupt. It is sufficient to use enable_irq_wake to mark irq as wakeup capable. Change-Id: I714724b31b92d23df0ac6a648f70416a130c9896 Signed-off-by: Deepak Kumar Singh --- 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 6084e34ac439..299876a301a2 100644 --- a/drivers/mailbox/msm_qmp.c +++ b/drivers/mailbox/msm_qmp.c @@ -991,7 +991,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);