Skip to content
Snippets Groups Projects
Commit a9003dc6 authored by Maxime Ripard's avatar Maxime Ripard Committed by Jaehoon Chung
Browse files

mmc: Retry the switch command


Some eMMC will fail at the first switch, but would succeed in a subsequent
one.

Make sure we try several times to cover those cases. The number of retries
(and the behaviour) is currently what is being used in Linux.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 29e0cfb4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment