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

Commit 73ae7e2a 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"

parents 54ac6d78 76b1b5d7
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2337,9 +2337,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