From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 2/3] mci: sdhci: Fix TIMEOUT_CONTROL register value
Date: Thu, 21 May 2026 10:05:06 +0200 [thread overview]
Message-ID: <20260521-rockchip-emmc-fixes-v1-2-c91908ca1fb5@pengutronix.de> (raw)
In-Reply-To: <20260521-rockchip-emmc-fixes-v1-0-c91908ca1fb5@pengutronix.de>
A timeout value of 0xf is reserved for most (all?) controllers. Use 0xe
which is the maximum allowed value and used throughout all controllers
in barebox.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/mci/sdhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mci/sdhci.c b/drivers/mci/sdhci.c
index 19b845302e..0d20f3b63e 100644
--- a/drivers/mci/sdhci.c
+++ b/drivers/mci/sdhci.c
@@ -138,7 +138,7 @@ int sdhci_send_command(struct sdhci *host, struct mci_cmd *cmd)
dma == SDHCI_NO_DMA ? false : true,
&command, &xfer);
- sdhci_write8(host, SDHCI_TIMEOUT_CONTROL, 0xf);
+ sdhci_write8(host, SDHCI_TIMEOUT_CONTROL, 0xe);
if (xfer)
sdhci_write16(host, SDHCI_TRANSFER_MODE, xfer);
if (cmd->data) {
--
2.47.3
next prev parent reply other threads:[~2026-05-21 8:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-21 8:05 [PATCH 0/3] mci: sdhci Rockchip tuning fixes Sascha Hauer
2026-05-21 8:05 ` [PATCH 1/3] mci: rockchip-dwcmshc-sdhci: poll DATA_AVAIL for tuning commands Sascha Hauer
2026-05-21 8:05 ` Sascha Hauer [this message]
2026-05-21 8:05 ` [PATCH 3/3] mci: sdhci: rockchip: Use generic sdhci_send_command() Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260521-rockchip-emmc-fixes-v1-2-c91908ca1fb5@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox