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

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

Merge "mmc: sd: return error information of sd_init_card incase of failure"

parents 984d39c9 71287b29
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1285,6 +1285,11 @@ static int _mmc_sd_resume(struct mmc_host *host)
#else
	err = mmc_sd_init_card(host, host->card->ocr, host->card);
#endif
	if (err) {
		pr_err("%s: %s: mmc_sd_init_card_failed (%d)\n",
				mmc_hostname(host), __func__, err);
		goto out;
	}
	mmc_card_clr_suspended(host->card);

	err = mmc_resume_clk_scaling(host);