mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 2/7] fixed-false-bit-in-arasan-driver
@ 2020-04-09 14:38 Michael Graichen
  0 siblings, 0 replies; only message in thread
From: Michael Graichen @ 2020-04-09 14:38 UTC (permalink / raw)
  To: barebox

when accessing the SD card arasan_sdhci_send_cmd checks for the wrong bit

Signed-off-by: Michael Graichen <michael.graichen@hotmail.com>
---
 drivers/mci/arasan-sdhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mci/arasan-sdhci.c b/drivers/mci/arasan-sdhci.c
index b43a4f8dd..520bf30ff 100644
--- a/drivers/mci/arasan-sdhci.c
+++ b/drivers/mci/arasan-sdhci.c
@@ -278,7 +278,7 @@ static int arasan_sdhci_send_cmd(struct mci_host *mci, struct mci_cmd *cmd,

 	mask = SDHCI_INT_CMD_COMPLETE;
 	if (data)
-		mask |= SDHCI_INT_XFER_COMPLETE;
+		mask |= SDHCI_INT_DATA_AVAIL;

 	sdhci_set_cmd_xfer_mode(&host->sdhci, cmd, data, false, &command, &xfer);

--
2.17.1

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-09 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 14:38 [PATCH v2 2/7] fixed-false-bit-in-arasan-driver Michael Graichen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox