summaryrefslogtreecommitdiff
path: root/drivers/mmc/sunxi_mmc.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-11-04 18:18:08 +0300
committerJaehoon Chung <jh80.chung@samsung.com>2016-11-16 07:30:17 +0300
commita9003dc641cf881992897585392567811652de09 (patch)
tree7830d735335d48c2de2f8acf433cb95c20bfc69d /drivers/mmc/sunxi_mmc.c
parent29e0cfb4f77f7aa369136302cee14a91e22dca71 (diff)
downloadu-boot-a9003dc641cf881992897585392567811652de09.tar.xz
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: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc/sunxi_mmc.c')
0 files changed, 0 insertions, 0 deletions