diff options
author | Maurice Petallo <mauricex.r.petallo@intel.com> | 2014-07-08 07:11:00 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-07-10 08:57:37 -0400 |
commit | d61b59461b0cd0106f03e566d537b9072029e059 (patch) | |
tree | 909d3ab79476db3eb360c1bf711bd9f8d5b51caf /drivers/mmc | |
parent | 1ef94740483da84fd7de0b52442514cf6bf8c2e8 (diff) |
mmc: sdhci: Preset value not supported in Baytrail eMMC
"SDHCI_QUIRK2_PRESET_VALUE_BROKEN" quirk is added to prohibit
preset value enabling for Baytrail eMMC controller.
Signed-off-by: Maurice Petallo <mauricex.r.petallo@intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-acpi.c | 1 | ||||
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index 8ce3c28cb76e..840788ebdc7f 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c | |||
@@ -127,6 +127,7 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = { | |||
127 | .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | MMC_CAP_HW_RESET, | 127 | .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | MMC_CAP_HW_RESET, |
128 | .caps2 = MMC_CAP2_HC_ERASE_SZ, | 128 | .caps2 = MMC_CAP2_HC_ERASE_SZ, |
129 | .flags = SDHCI_ACPI_RUNTIME_PM, | 129 | .flags = SDHCI_ACPI_RUNTIME_PM, |
130 | .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, | ||
130 | }; | 131 | }; |
131 | 132 | ||
132 | static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = { | 133 | static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = { |
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 1aeeefc71512..dc336ee6751e 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
@@ -283,6 +283,7 @@ static int byt_sdio_probe_slot(struct sdhci_pci_slot *slot) | |||
283 | static const struct sdhci_pci_fixes sdhci_intel_byt_emmc = { | 283 | static const struct sdhci_pci_fixes sdhci_intel_byt_emmc = { |
284 | .allow_runtime_pm = true, | 284 | .allow_runtime_pm = true, |
285 | .probe_slot = byt_emmc_probe_slot, | 285 | .probe_slot = byt_emmc_probe_slot, |
286 | .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN, | ||
286 | }; | 287 | }; |
287 | 288 | ||
288 | static const struct sdhci_pci_fixes sdhci_intel_byt_sdio = { | 289 | static const struct sdhci_pci_fixes sdhci_intel_byt_sdio = { |