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 <[email protected]>
This commit is contained in:
Deepak Kumar Singh 2020-12-14 12:06:22 +05:30
commit ba05ace82d

View file

@ -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);