diff options
author | Jason Jin <Jason.jin@freescale.com> | 2012-08-07 18:13:17 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-09-12 16:49:59 -0400 |
commit | 5e7187646d354802f062cf37683931c61b30a998 (patch) | |
tree | 392328cb0a85f89be35bcc1327236b36a097ecda | |
parent | 55d33947e02ecc7e7f10692fc13d8979a76d634d (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.c | 2 |
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 |