Skip to content
Snippets Groups Projects
Forked from Alex Deucher / linux
252308 commits behind, 1379 commits ahead of the upstream repository.
user avatar
Yann Gautier authored
During test campaign, and especially after several unbind/bind sequences,
it has been seen that the SD-card on SDMMC1 thread could freeze.
The freeze always appear on a CMD23 following a CMD19.
Checking SDMMC internal registers shows that the tuning command (CMD19)
has failed.
The freeze is then due to the delay block involved in the tuning sequence.
To correct this, clear the delay block register DLYB_CR register after
the tuning commands.

Signed-off-by: default avatarChristophe Kerello <christophe.kerello@foss.st.com>
Signed-off-by: default avatarYann Gautier <yann.gautier@foss.st.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Fixes: 1103f807 ("mmc: mmci_sdmmc: Add execute tuning with delay block")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20211215141727.4901-4-yann.gautier@foss.st.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
ff31ee0a
History
Name Last commit Last update
..
core
host
Kconfig
Makefile