mmc: retry a few times if a partition switch failed
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 2 Jul 2019 08:53:58 +0000 (10:53 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 15 Jul 2019 02:16:49 +0000 (10:16 +0800)
commit0538477c53237230c36b78cfe5fa26aed81c9d87
tree59a7feecf9ea94682d9b64512be724ef2007f411
parent9bc5666c8a32aa335b236fb3e140aa55766c7b03
mmc: retry a few times if a partition switch failed

This operation may fail. Retry it a few times before giving up and report
a failure.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/mmc/mmc.c