Skip to content
Commit 9b5b8b6e authored by Alexander Graf's avatar Alexander Graf Committed by Tom Rini
Browse files

dwmmc: Increase retry timeout



When enable dcache on HiKey, we're running into MMC command timeouts
because our retry loop is now faster than the eMMC (or an external SD
card) can answer.

Increase the retry count to the same as the timeout value for status
reports.

The real fix is obviously to not base this whole thing on a cycle counter
but on real wall time, but that would be slightly more intrusive.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent e593bf5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment