Skip to content

Commit b732104

Browse files
Dong Aishengstorulf
authored andcommitted
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>
1 parent 915be48 commit b732104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/sdhci-esdhc-imx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ static void esdhc_writel_le(struct sdhci_host *host, u32 val, int reg)
298298
u32 data;
299299

300300
if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE)) {
301-
if (val & SDHCI_INT_CARD_INT) {
301+
if ((val & SDHCI_INT_CARD_INT) && !esdhc_is_usdhc(imx_data)) {
302302
/*
303303
* Clear and then set D3CD bit to avoid missing the
304304
* card interrupt. This is a eSDHC controller problem

0 commit comments

Comments
 (0)