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

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

Merge "mmc: core: Enable card detect IRQ wake if host needs it"

parents 12ddadab 30c48413
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -172,6 +172,10 @@ void mmc_gpiod_request_cd_irq(struct mmc_host *host)

	if (irq < 0)
		host->caps |= MMC_CAP_NEEDS_POLL;
	ret = mmc_gpio_set_cd_wake(host, true);
	if (ret)
		dev_err(mmc_dev(host), "%s: enabling cd irq wake failed ret=%d\n",
				      __func__, ret);
}
EXPORT_SYMBOL(mmc_gpiod_request_cd_irq);