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

Commit 65d2ac60 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: sd: Check for return value of sd_card init"

parents 2635df68 7eeeb1c5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1359,6 +1359,11 @@ static int mmc_sd_power_restore(struct mmc_host *host)
	mmc_claim_host(host);
	ret = mmc_sd_init_card(host, host->card->ocr, host->card);
	mmc_release_host(host);
	if (ret) {
		pr_err("%s: %s: mmc_sd_init_card_failed (%d)\n",
				mmc_hostname(host), __func__, ret);
		return ret;
	}

	ret = mmc_resume_clk_scaling(host);
	if (ret)