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

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

Merge "mmc: host: Add support for card detect gpio sharing"

parents ffe36eff c61e9670
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -162,7 +162,8 @@ void mmc_gpiod_request_cd_irq(struct mmc_host *host)
			ctx->cd_gpio_isr = mmc_gpio_cd_irqt;
			ctx->cd_gpio_isr = mmc_gpio_cd_irqt;
		ret = devm_request_threaded_irq(host->parent, irq,
		ret = devm_request_threaded_irq(host->parent, irq,
			NULL, ctx->cd_gpio_isr,
			NULL, ctx->cd_gpio_isr,
			IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
			IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |
			IRQF_ONESHOT | IRQF_SHARED,
			ctx->cd_label, host);
			ctx->cd_label, host);
		if (ret < 0)
		if (ret < 0)
			irq = ret;
			irq = ret;