mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 04:38:10 +00:00
The non-DMA data paths discard the return value of SDIO_RECVSETUP in mmcsd_readsingle() and mmcsd_readmultiple() and of SDIO_SENDSETUP in mmcsd_writesingle(), mmcsd_writemultiple() and the CMD56 read/write helpers, so when the lower half fails to set up the transfer the driver still issues CMD17/18/24/25/56 and the failure only surfaces later as an unrelated-looking transfer timeout. The DMA paths in the same functions all check SDIO_DMARECVSETUP/SDIO_DMASENDSETUP, cancel the transfer and propagate the error, so mirror that handling on the non-DMA paths. Signed-off-by: rikaken2004 <244897142+rikaken2004@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| mmcsd.h | ||
| mmcsd_csd.h | ||
| mmcsd_debug.c | ||
| mmcsd_extcsd.h | ||
| mmcsd_procfs.c | ||
| mmcsd_sdio.c | ||
| mmcsd_sdio.h | ||
| mmcsd_spi.c | ||
| mmcsd_spi.h | ||
| sdio.c | ||