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

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

Merge "mmc: core: Ignore CRC errors with CMD13 while executing tuning"

parents 01703a15 04ac7bd8
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -2702,7 +2702,13 @@ int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode)
	}

	if (host->ops->platform_execute_tuning) {
		/*
		 * Make sure re-tuning won't get triggered for the CRC errors
		 * occurred while executing tuning
		 */
		mmc_retune_disable(mmc);
		err = host->ops->platform_execute_tuning(host, opcode);
		mmc_retune_enable(mmc);
		goto out;
	}