]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: sdhci-sirf: corrent quirk according to real chips
authorBarry Song <Baohua.Song@csr.com>
Wed, 12 Aug 2015 06:59:33 +0000 (06:59 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:50:52 +0000 (14:50 +0200)
the current quirk set is for an old FPGA, and this patch corrects
quirks according to real SoC.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-sirf.c

index 0110bae25b7e8e1d6dcfb54a6a8a518c2763f122..884294576356d4c87e3869162186aadbc24b4f6a 100644 (file)
@@ -161,8 +161,8 @@ static struct sdhci_pltfm_data sdhci_sirf_pdata = {
        .quirks = SDHCI_QUIRK_BROKEN_TIMEOUT_VAL |
                SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK |
                SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN |
-               SDHCI_QUIRK_INVERTED_WRITE_PROTECT |
-               SDHCI_QUIRK_DELAY_AFTER_POWER,
+               SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS,
+       .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN,
 };
 
 static int sdhci_sirf_probe(struct platform_device *pdev)