mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/7] Zedboard Arasan MMC driver checks wrong bit
@ 2020-04-02  8:18 Michael Graichen
  0 siblings, 0 replies; only message in thread
From: Michael Graichen @ 2020-04-02  8:18 UTC (permalink / raw)
  To: barebox

when accessing the SD card arasan_sdhci_send_cmd checks for the wrong bit 

diff --git a/drivers/mci/arasan-sdhci.c b/drivers/mci/arasan-sdhci.c
index b43a4f8dd..0dd9382ae 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);
 
_______________________________________________
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-02  8:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02  8:18 [PATCH 1/7] Zedboard Arasan MMC driver checks wrong bit Michael Graichen

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