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

Commit d7d63fcf authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: sdhci: clear interrupt status during controller reset"

parents df4bc84b a9e4a4f3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -291,6 +291,10 @@ static void sdhci_reset(struct sdhci_host *host, u8 mask)
	if (host->ops->platform_reset_exit)
		host->ops->platform_reset_exit(host, mask);

	/* clear pending normal/error interrupt status */
	sdhci_writel(host, sdhci_readl(host, SDHCI_INT_STATUS),
			SDHCI_INT_STATUS);

	if (host->quirks & SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET)
		sdhci_clear_set_irqs(host, SDHCI_INT_ALL_MASK, ier);