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

Commit c1ec17fe authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: soc: sdx_ext_ipc: Fix devm_request_threaded_irq call"

parents e8ea80db 4d1b4d58
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@ static int sdx_ext_ipc_probe(struct platform_device *pdev)

	if (mdm->gpios[WAKEUP_IN] >= 0) {
		ret = devm_request_threaded_irq(mdm->dev, mdm->wakeup_irq,
				NULL, sdx_ext_ipc_wakeup_irq,
				sdx_ext_ipc_wakeup_irq, NULL,
				IRQF_TRIGGER_FALLING, "sdx_ext_ipc_wakeup",
				mdm);
		if (ret < 0) {
@@ -356,7 +356,6 @@ static int sdx_ext_ipc_probe(struct platform_device *pdev)
				__func__, mdm->wakeup_irq);
			goto irq_fail;
		}
		disable_irq(mdm->wakeup_irq);
	}

	if (mdm->gpios[WAKEUP_OUT] >= 0) {