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

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

Merge "MMC: core: Check for return value of card init"

parents 4d4576d9 7d1d1882
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2735,6 +2735,11 @@ static int mmc_power_restore(struct mmc_host *host)
	}

	ret = mmc_init_card(host, host->card->ocr, host->card);
	if (ret) {
		pr_err("%s: %s: mmc_init_card failed (%d)\n",
			mmc_hostname(host), __func__, ret);
		return ret;
	}

	ret = mmc_resume_clk_scaling(host);
	if (ret)