Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: sdhci-sirf: corrent quirk according to real chips

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>

authored by

Barry Song and committed by
Ulf Hansson
1880d8f6 b5b4ff0a

+2 -2
+2 -2
drivers/mmc/host/sdhci-sirf.c
··· 161 161 .quirks = SDHCI_QUIRK_BROKEN_TIMEOUT_VAL | 162 162 SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | 163 163 SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN | 164 - SDHCI_QUIRK_INVERTED_WRITE_PROTECT | 165 - SDHCI_QUIRK_DELAY_AFTER_POWER, 164 + SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS, 165 + .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, 166 166 }; 167 167 168 168 static int sdhci_sirf_probe(struct platform_device *pdev)