[PATCH master 1/2] mci: imx-esdhc: restore longer timeouts for idle

Sascha Hauer s.hauer at pengutronix.de
Wed Jul 2 05:27:45 PDT 2025


On Wed, 02 Jul 2025 12:59:46 +0200, Ahmad Fatoum wrote:
> Commit 02986964885c ("mci: imx-esdhc: implement esdhc_poll using
> sdhci_read32_poll_timeout") introduces sdhci_compute_timeout() which
> takes a default timeout, but that default timeout is ignored in the
> function.
> 
> Commit bbecd0b7bb7e ("mci: sdhci: add support for struct mci_data::timeout_ns")
> then makes use of this function and with this breaks the polling for DATA0
> line by reducing the original 2.5s timeout to SDHCI_CMD_DEFAULT_BUSY_TIMEOUT_NS
> which is 10ms.
> 
> [...]

Applied, thanks!

[1/2] mci: imx-esdhc: restore longer timeouts for idle
      https://git.pengutronix.de/cgit/barebox/commit/?id=e44d8628b582 (link may not be stable)
[2/2] mci: sdhci: fix too short timeout in sdhci_wait_idle_data
      https://git.pengutronix.de/cgit/barebox/commit/?id=848a56aa1559 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list