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

Commit ffbfa10b 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: Fix issue with host op card_event()"

parents 02ea1307 66385ea2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2542,6 +2542,9 @@ static void sdhci_card_event(struct mmc_host *mmc)
	struct sdhci_host *host = mmc_priv(mmc);
	unsigned long flags;

	if (host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION)
		return;

	spin_lock_irqsave(&host->lock, flags);

	/* Check host->mrq first in case we are runtime suspended */