summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@freescale.com>2015-05-27 18:13:27 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2015-06-01 09:07:16 +0200
commitb7321042aa363daf58912ada174d05a53bf96059 (patch)
tree8c2e7dce1cbcd7d63a2cbb330847b4f8892a5d13 /drivers/mmc/host
parent915be485bdf24f2261b4dc776625c930e1491d7a (diff)
downloadblackbird-op-linux-b7321042aa363daf58912ada174d05a53bf96059.tar.gz
blackbird-op-linux-b7321042aa363daf58912ada174d05a53bf96059.zip
mmc: sdhci-esdhc-imx: usdhc does not have missing card interrupt issue
The usdhc does not have missing card interrupt issue, so don't execute workaround for usdhc. Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host')
-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 0c89293ed853..fda07eb2ed15 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -298,7 +298,7 @@ static void esdhc_writel_le(struct sdhci_host *host, u32 val, int reg)
u32 data;
if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE)) {
- if (val & SDHCI_INT_CARD_INT) {
+ if ((val & SDHCI_INT_CARD_INT) && !esdhc_is_usdhc(imx_data)) {
/*
* Clear and then set D3CD bit to avoid missing the
* card interrupt. This is a eSDHC controller problem
OpenPOWER on IntegriCloud