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

Commit f1126aa3 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 959abd17 ddd73093
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1283,6 +1283,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);

	if (host->card->sdr104_blocked)