diff mbox

[v3,3/3] add this quirk to MFLD SDHCI host

Message ID 20101202112700.GD10358@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chuanxiao.Dong Dec. 2, 2010, 11:27 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 831cf91..2419cc5 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -169,11 +169,13 @@  static const struct sdhci_pci_fixes sdhci_intel_mrst_hc1_hc2 = {
 };
 
 static const struct sdhci_pci_fixes sdhci_intel_mfd_sd = {
-	.quirks		= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
+	.quirks		= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC |
+				SDHCI_QUIRK_FORCE_ERASE_SINGLE,
 };
 
 static const struct sdhci_pci_fixes sdhci_intel_mfd_emmc_sdio = {
-	.quirks		= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
+	.quirks		= SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC |
+				SDHCI_QUIRK_FORCE_ERASE_SINGLE,
 };
 
 /* O2Micro extra registers */