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

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

Merge "mmc: host: Add check for post tuning in HS400" into msm-4.9

parents 406558ed 27d29e2b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2377,9 +2377,10 @@ static int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode)
	switch (host->timing) {
	/* HS400 tuning is done in HS200 mode */
	case MMC_TIMING_MMC_HS400:
		if (!(mmc->caps2 & MMC_CAP2_HS400_POST_TUNING)) {
			err = -EINVAL;
			goto out_unlock;

		}
	case MMC_TIMING_MMC_HS200:
		/*
		 * Periodic re-tuning for HS400 is not expected to be needed, so