diff options
author | Dong Aisheng <aisheng.dong@freescale.com> | 2015-10-31 22:47:32 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@freescale.com> | 2015-11-01 01:36:23 +0800 |
commit | 0a239c2694e5761a8ce4e4889edaaeddece52e6c (patch) | |
tree | c8e47208da598b17396b6684ff70dacd468265f6 | |
parent | e178c8695329741388628b61762c945cd2a6675c (diff) | |
download | freescale-0a239c2694e5761a8ce4e4889edaaeddece52e6c.tar.gz |
MLK-11796-1 Revert "ENGR00289406-2 mmc: sdhci-esdhc-imx: add SDHCI_QUIRK2_NOSTD_TIMEOUT_COUNTER"
Revert the patch and use upstream version instead.
This reverts commit a9935446d897ff68167af82eca30b96fb96f0f7a.
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index e00db8ad13d..6bb2697da74 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -990,11 +990,6 @@ static int esdhc_set_uhs_signaling(struct sdhci_host *host, unsigned int uhs) return esdhc_change_pinstate(host, uhs); } -static unsigned int esdhc_get_max_timeout_counter(struct sdhci_host *host) -{ - return 1 << 28; -} - static struct sdhci_ops sdhci_esdhc_ops = { .read_l = esdhc_readl_le, .read_w = esdhc_readw_le, @@ -1166,9 +1161,7 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) writel(readl(host->ioaddr + SDHCI_HOST_CONTROL) | ESDHC_BURST_LEN_EN_INCR, host->ioaddr + SDHCI_HOST_CONTROL); - - host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN | - SDHCI_QUIRK2_NOSTD_TIMEOUT_COUNTER; + host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN; host->mmc->caps |= MMC_CAP_1_8V_DDR; /* @@ -1176,8 +1169,6 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) * TO1.1, it's harmless for MX6SL */ writel(readl(host->ioaddr + 0x6c) | BIT(7), host->ioaddr + 0x6c); - sdhci_esdhc_ops.get_max_timeout_counter = - esdhc_get_max_timeout_counter; } if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING) |