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

Commit 3c23fa3a authored by Mayank Grover's avatar Mayank Grover
Browse files

qcom: qcom_ipcc: request ipcc irq IRQF_NO_SUSPEND



Request ipcc irq with irqf no suspend flag.
This is required as to handle IPCC interrupt,
during suspend phase.

Change-Id: I5c34c5d446bd2cc2187550455071f35637a2c4b3
Signed-off-by: default avatarMayank Grover <groverm@codeaurora.org>
parent 5b478488
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -390,13 +390,12 @@ static int qcom_ipcc_probe(struct platform_device *pdev)
	}

	ret = devm_request_irq(&pdev->dev, proto_data->irq, qcom_ipcc_irq_fn,
				IRQF_TRIGGER_HIGH, name, proto_data);
				IRQF_TRIGGER_HIGH | IRQF_NO_SUSPEND, name, proto_data);
	if (ret < 0) {
		dev_err(&pdev->dev, "Failed to register the irq: %d\n", ret);
		goto err_req_irq;
	}

	enable_irq_wake(proto_data->irq);
	platform_set_drvdata(pdev, proto_data);

	return 0;