[PATCH] mmc: sdhci: Start status timeout after command issue
Peng Fan
peng.fan at oss.nxp.com
Wed May 13 11:57:33 CEST 2026
On Sat, May 09, 2026 at 11:29:32PM +0530, Tanmay Kathpalia wrote:
>The status polling timeout in sdhci_send_command() should measure the
>time spent waiting for the command interrupt after the command has been
>issued.
>
>Do not initialize the timer at function entry, since the command inhibit
>wait and setup path can consume time before SDHCI_COMMAND is written.
>Start the timer immediately after issuing the command instead.
>
>Signed-off-by: Tanmay Kathpalia <tanmay.kathpalia at gmail.com>
Reviewed-by: Peng Fan <peng.fan at nxp.com>
More information about the U-Boot
mailing list