diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2024-03-18 11:18:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-03-18 13:17:07 +0100 |
commit | 6c809314ab8837a83bc2575b5698ce763a6d280f (patch) | |
tree | 108c049cd3442b7b380b909bd8a708d75e113f5c /drivers/mci/dove-sdhci.c | |
parent | 94d79ed7b7814e1fc1c4ebe4678bbc73784b8046 (diff) | |
download | barebox-6c809314ab8837a83bc2575b5698ce763a6d280f.tar.gz barebox-6c809314ab8837a83bc2575b5698ce763a6d280f.tar.xz |
mci: sdhci: replace sdhci_wait_idle
Linux uses a different sdhci_wait_idle function than what barebox
currently does. For HS200 support, the linux version needs to be used.
As currently only arasan-sdhci is tested with HS200, keep the old
sdhci_wait_idle as sdhci_wait_idle_data and convert all users of it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Diffstat (limited to 'drivers/mci/dove-sdhci.c')
-rw-r--r-- | drivers/mci/dove-sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mci/dove-sdhci.c b/drivers/mci/dove-sdhci.c index 8a4c4a11b4..d37046ad31 100644 --- a/drivers/mci/dove-sdhci.c +++ b/drivers/mci/dove-sdhci.c @@ -62,7 +62,7 @@ static int dove_sdhci_mci_send_cmd(struct mci_host *mci, struct mci_cmd *cmd, unsigned int num_bytes = 0; struct dove_sdhci *host = priv_from_mci_host(mci); - ret = sdhci_wait_idle(&host->sdhci, cmd); + ret = sdhci_wait_idle_data(&host->sdhci, cmd); if (ret) return ret; |