mmc: add required delays when retrying commands
authorYann Gautier <yann.gautier@st.com>
Thu, 2 Aug 2018 11:46:17 +0000 (13:46 +0200)
committerYann Gautier <yann.gautier@st.com>
Thu, 2 Aug 2018 11:48:17 +0000 (13:48 +0200)
commit15e913d4ab2e67bef9583bc146f13642e0202091
treef076b36c5b2e0eb74d93bd5ddd714b489ada4e63
parentf214a8069822051f738f3fe8bec85dad0f0ac71f
mmc: add required delays when retrying commands

A new function mmc_reset_to_idle is also created.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
drivers/mmc/mmc.c