Skip to content
Snippets Groups Projects
Commit f43774a8 authored by Matt Wagantall's avatar Matt Wagantall
Browse files

mmc: sdhci-msm: Correct usage of readl_poll_timeout() API


The intention of sdhci_msm_probe() was to wait up to 1ms for
CORE_SW_RST to be set, but only a 10us timeout was passed to
readl_poll_timeout().

Correct the timeout value to be 1ms, and decrease the sleep
time between read attempts to only 10us so that it's less
than the expected wait time of 40us.

Change-Id: I7007a68232bfba76409e2dbae3060622fa5c1913
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 7ab1b9a7
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment