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

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

Merge "mmc: Fix clock scaling for HS400 with enhanced strobe"

parents 09d44748 20d86ffd
Loading
Loading
Loading
Loading
+25 −23
Original line number Diff line number Diff line
@@ -1432,6 +1432,7 @@ static int mmc_scale_high(struct mmc_host *host)
{
	int err = 0;

	if (!host->card->ext_csd.strobe_support) {
		if (!(host->card->mmc_avail_type & EXT_CSD_CARD_TYPE_HS200)) {
			pr_err("%s: %s: card does not support HS200\n",
				mmc_hostname(host), __func__);
@@ -1460,6 +1461,7 @@ static int mmc_scale_high(struct mmc_host *host)
				mmc_hostname(host));
			return 0;
		}
	}

	err = mmc_select_hs400(host->card);
	if (err) {