mmc: st: correct retries management
The retries number should be 3.
A warning message is added in mmc_block_read(), and the code is refactored.

Change-Id: I577c7dd91c451c7580b1660042cb5fe26ee3fa12
Signed-off-by: Yann Gautier <yann.gautier@st.com>
1 parent ea30694 commit 7d8e1218c28ec9c549b05e09210f72059d425012
@Yann Gautier Yann Gautier authored on 12 Jun 2020
Showing 2 changed files
View
drivers/st/io/io_mmc.c
View
drivers/st/mmc/stm32_sdmmc2.c