[PATCH v2 2/7] fixed-false-bit-in-arasan-driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



when accessing the SD card arasan_sdhci_send_cmd checks for the wrong bit

Signed-off-by: Michael Graichen <michael.graichen@xxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux