[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1243604159-17526-1-git-send-email-ben-linux@fluff.org>
Date: Fri, 29 May 2009 14:35:59 +0100
From: Ben Dooks <ben-linux@...ff.org>
To: pierre@...man.eu, linux-kernel@...r.kernel.org
Cc: Ben Dooks <ben-linux@...ff.org>
Subject: [PATCH] sdhci: consider ADMA error interrupt as data interrupt
Currently any SDHCI_INT_ADMA_ERROR response is processed by
sdhci_data_irq() producing an -EIO for the transfer, but is
not in the SDHCI_INT_DATA_MASK so sdhci_irq() produces a
warning of "Unexpected interrupt 0x02000000".
Signed-off-by: Ben Dooks <ben-linux@...ff.org>
---
drivers/mmc/host/sdhci.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index f20a834..c9dd8bf 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -125,7 +125,7 @@
#define SDHCI_INT_DATA_MASK (SDHCI_INT_DATA_END | SDHCI_INT_DMA_END | \
SDHCI_INT_DATA_AVAIL | SDHCI_INT_SPACE_AVAIL | \
SDHCI_INT_DATA_TIMEOUT | SDHCI_INT_DATA_CRC | \
- SDHCI_INT_DATA_END_BIT)
+ SDHCI_INT_DATA_END_BIT | SDHCI_INT_ADMA_ERROR)
#define SDHCI_INT_ALL_MASK ((unsigned int)-1)
#define SDHCI_ACMD12_ERR 0x3C
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists