zephyr/subsys/sd
Daniel DeGrasse c1b7b817cc sd: modify sdmmc_wait_ready to always decrement timeout
As described in issue:
https://github.com/zephyrproject-rtos/zephyr/issues/65027,
sdmmc_wait_ready can enter an infinite loop if the card is removed while
waiting for it to report an idle status. Fix this by always decrementing
the timeout in sdmmc_wait_ready, regardless of whether the SD card is
busy.

Fixes #65027

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-01-24 16:37:21 +00:00
..
CMakeLists.txt
Kconfig sd: add SDIO subsystem 2023-11-06 19:01:08 -05:00
mmc.c drivers: sdhc: allow bandwidth selection 2023-09-13 16:20:59 +02:00
sd_init.h
sd_ops.c sd: modify sdmmc_wait_ready to always decrement timeout 2024-01-24 16:37:21 +00:00
sd_ops.h
sd_utils.h
sd.c sd: add check for maximum supported voltage by host controller 2023-09-29 16:29:00 +02:00
sdio.c sd: add timeout when taking SD card lock for data operations 2024-01-09 15:46:54 -06:00
sdmmc.c