Skip to content
Commit 42918872 authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Alberto Escolar
Browse files

drivers: sdhc: sdhc_spi: wait for card response until cmd timeout



In sdhc_spi_response_get, the logic for slow cards previously only
retried reads 16 times. Instead of using this approach, read from the
card every 10 ms until the command timeout is reached or it responds.
This way, the command timeout will be respected for cards that do not
respond.

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent ba7b7fff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment