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

Commit 02a9497a authored by Guoping Yu's avatar Guoping Yu
Browse files

Revert "mmc: core: increase delay between power-up and power-on"



This reverts commit 3ec1ed2a.

The original 10ms delay is enough to reach power on from power
up. Increase delay is workaround to resovle resume Re-init
retries time out error. The root cause is additional QDSD block
would impact SD fucntionality as they are multiplex with SD
interface. If cd-gpio is HW floating and has a pulse, QDSD 100ms
search process would be triggerred is prior to SD block and SD
interface work as QDSD instead of SD.

The fix is merged, so revert the workaround.

Change-Id: I647be754de4a6a13678cbb1456a9db88c2714f94
Signed-off-by: default avatarGuoping Yu <guopingy@codeaurora.org>
parent 3ec1ed2a
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -2085,9 +2085,6 @@ void mmc_power_up(struct mmc_host *host)
	 * This delay should be sufficient to allow the power supply
	 * to reach the minimum voltage.
	 */
	if (host->caps2 & MMC_CAP2_VDD_MORE_POWER_UP_TIME)
		mmc_delay(150);
	else
	mmc_delay(10);

	host->ios.clock = host->f_init;
+0 −2
Original line number Diff line number Diff line
@@ -330,8 +330,6 @@ struct mmc_host {
#define MMC_CAP2_HS400		(MMC_CAP2_HS400_1_8V | \
				 MMC_CAP2_HS400_1_2V)
#define MMC_CAP2_NONHOTPLUG	(1 << 25)	/*Don't support hotplug*/
/*Vdd need more power up time*/
#define MMC_CAP2_VDD_MORE_POWER_UP_TIME	(1 << 26)
	mmc_pm_flag_t		pm_caps;	/* supported pm features */

	int			clk_requests;	/* internal reference counter */