Due to failures to find failing region issues seen on some boards, add retry tuning sequence to make the tuning algorithm more robust. The tuning algorithm will re-execute up to 10 times if there is no failing or passing itapdly. Due to the same issue above, add prints to the tuning algorithm to make debugging these corner-cases easier. Changes since v3: - Fix compile warnings link to v1: https://lore.kernel.org/linux-mmc/20240815201542.421653-1-jm@xxxxxx link to v2: https://lore.kernel.org/linux-mmc/20240821192435.1619271-1-jm@xxxxxx link to v3: https://lore.kernel.org/linux-mmc/20240826210454.3928033-1-jm@xxxxxx/ Judith Mendez (2): mmc: sdhci_am654: Add retry tuning mmc: sdhci_am654: Add prints to tuning algorithm drivers/mmc/host/sdhci_am654.c | 54 +++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 11 deletions(-) -- 2.46.0