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

Commit fb0c7e34 authored by Ritesh Harjani's avatar Ritesh Harjani Committed by Gerrit - the friendly Code Review server
Browse files

mmc: sdhci: Fix timeout mdelay bug in sdhci_reset



Change mdelay to udelay to fix 100sec waiting timeout
bug in sdhci_reset. sdhci_reset is intended to only
wait for 100msec.

Change-Id: I6b5c9b10daf7cd8a7faf16ac6bdb09c5079a39e9
Signed-off-by: default avatarRitesh Harjani <riteshh@codeaurora.org>
parent 96e9002e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ retry_reset:
			return;
		}
		timeout--;
		mdelay(1);
		udelay(1);
	}

	if ((host->quirks2 & SDHCI_QUIRK2_USE_RESET_WORKAROUND) &&