Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba05ace8 authored by Deepak Kumar Singh's avatar Deepak Kumar Singh
Browse files

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: default avatarDeepak Kumar Singh <deesin@codeaurora.org>
parent 38e6f2c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);