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

Commit 8294e54f authored by Jeff Hugo's avatar Jeff Hugo Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: glink_smem_native_xprt: Use IRQF_SHARED



SMEM Native Transport interrupts might need to be shared with other
drivers.  Use IRQF_SHARED to allow sharing of the interrupt.

Change-Id: I88fc5db50977cedb8f375bd2b9abb0978949ed72
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent dfd6e0b1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1816,7 +1816,7 @@ static int glink_smem_native_probe(struct platform_device *pdev)

	einfo->irq_line = irq_line;
	rc = request_irq(irq_line, irq_handler,
					IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND,
			IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND | IRQF_SHARED,
			node->name, einfo);
	if (rc < 0) {
		pr_err("%s: request_irq on %d failed: %d\n", __func__, irq_line,
@@ -2057,7 +2057,7 @@ static int glink_rpm_native_probe(struct platform_device *pdev)

	einfo->irq_line = irq_line;
	rc = request_irq(irq_line, irq_handler,
					IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND,
			IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND | IRQF_SHARED,
			node->name, einfo);
	if (rc < 0) {
		pr_err("%s: request_irq on %d failed: %d\n", __func__, irq_line,