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

Commit 4be8c079 authored by Veerabhadrarao Badiganti's avatar Veerabhadrarao Badiganti Committed by Gerrit - the friendly Code Review server
Browse files

mmc: core: Return SD card status if sdr104_wa is not present



On the targets in which sdr104 workaround is not needed, we simply
return card status from mmc_recovery_fallback_lower_speed() call.
This is to fix the issue that are observed with SD card tray holder.
(1b6281740: mmc: core: Return card status if sdr104_wa is not present)

Since this change is meant to fix issue observed with SD card tray
holder, for other devices(eMMC/SDIO) we should ignore this.

Change-Id: Ia7fcdfab4351cbb3df241f2e9f2da74bad20ca90
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
parent f6fbeafa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -468,7 +468,7 @@ int mmc_recovery_fallback_lower_speed(struct mmc_host *host)
		mmc_host_clear_sdr104(host);
		err = mmc_hw_reset(host);
		host->card->sdr104_blocked = true;
	} else {
	} else if (mmc_card_sd(host->card)) {
		/* If sdr104_wa is not present, just return status */
		err = host->bus_ops->alive(host);
	}