summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Jin <Jason.jin@freescale.com>2012-08-07 18:13:17 +0800
committerJason Jin <Jason.jin@freescale.com>2012-08-10 18:19:12 +0800
commit8dddea62fb007f5e214e67cfe3baf1f0858f88c3 (patch)
tree392328cb0a85f89be35bcc1327236b36a097ecda
parentf00d4045dac1e805a1c91f55316944c06194e5cd (diff)
ENGR219460:There is call trace when the SD card removed and then pluged-into
The call trace introduced by the card interrupt. This patch try to fix this by disabling the card interrupt. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 41c11f1cab1d..2296eb8d1c18 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -195,7 +195,7 @@ static void esdhc_writel_le(struct sdhci_host *host, u32 val, int reg)
writel(SDHCI_INT_CARD_INT, \
host->ioaddr + SDHCI_INT_STATUS);
- if (val & SDHCI_INT_CARD_INT && !(cpu_is_mx6())) {
+ if (val & SDHCI_INT_CARD_INT && !(cpu_is_mx6()) & !(cpu_is_mvf())) {
/*
* clear D3CD bit and set D3CD bit to avoid
* losing card interrupt