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

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

Merge "mmc: sdhci: Avoid dumping registers when SD card removed"

parents fe3e0c09 e00d878d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3376,6 +3376,14 @@ static void sdhci_data_irq(struct sdhci_host *host, u32 intmask)
		} else {
			pr_msg = true;
		}

		if (host->mmc->ops->get_cd &&
				!host->mmc->ops->get_cd(host->mmc)) {
			pr_msg = false;
			pr_err("%s: Got data error(%d) during card removal\n",
				mmc_hostname(host->mmc), host->data->error);
		}

		if (pr_msg && __ratelimit(&host->dbg_dump_rs)) {
			pr_err("%s: data txfr (0x%08x) error: %d after %lld ms\n",
			       mmc_hostname(host->mmc), intmask,