zephyr/drivers/sdhc
Daniel DeGrasse a2087bed16 drivers: sdhc: sdhc_spi: rework CMD12 failure logic
Rework CMD12 failure logic for SDHC SPI driver. Previously, the error
code of CMD12 was not checked, so even if CMD12 failed to send the
initial command would be retried. Change this behavior to retry CMD12
until it succeeds. If CMD12 fails, its error code will be propagated to
the caller. Otherwise, the return code from the command being sent by
the caller will be propagated.

Fixes #72365

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-05-17 09:30:12 +02:00
..
CMakeLists.txt
Kconfig
Kconfig.esp32
Kconfig.ifx_cat1
Kconfig.imx
Kconfig.intel
Kconfig.mcux_sdif
Kconfig.rcar
Kconfig.sam_hsmci
Kconfig.sdhc_cdns
Kconfig.spi
ifx_cat1_sdio.c
imx_usdhc.c drivers: sdhc: imx_usdhc: extend reset timeout duration 2024-05-14 20:23:28 -04:00
intel_emmc_host.c
intel_emmc_host.h
mcux_sdif.c
rcar_mmc.c drivers: sdhc: rcar_mmc: remove frequency correction code 2024-05-16 09:21:03 +02:00
rcar_mmc_registers.h
sam_hsmci.c
sdhc_cdns.c
sdhc_cdns_ll.c
sdhc_cdns_ll.h
sdhc_esp32.c
sdhc_esp32.h
sdhc_spi.c drivers: sdhc: sdhc_spi: rework CMD12 failure logic 2024-05-17 09:30:12 +02:00