mmc: sdhci_omap: Fix sdhci-omap quirks
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 5 Feb 2018 12:50:20 +0000 (18:20 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Mar 2018 08:00:59 +0000 (09:00 +0100)
Add SDHCI_QUIRK2_PRESET_VALUE_BROKEN quirk as setting preset values loads
incorrect CLKD values (for UHS modes).

Remove SDHCI_QUIRK2_NO_1_8_V quirk as sdhci-omap now supports UHS modes.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c

index 4288493879926d1aeb03e9860ca4cf02e46e7832..1456abd5eeb9563aa6a5cec10d066a019a02201f 100644 (file)
@@ -711,8 +711,8 @@ static const struct sdhci_pltfm_data sdhci_omap_pdata = {
                  SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN |
                  SDHCI_QUIRK_NO_HISPD_BIT |
                  SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC,
-       .quirks2 = SDHCI_QUIRK2_NO_1_8_V |
-                  SDHCI_QUIRK2_ACMD23_BROKEN |
+       .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN |
+                  SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
                   SDHCI_QUIRK2_RSP_136_HAS_CRC,
        .ops = &sdhci_omap_ops,
 };