aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/sdhci-acpi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
index 310976307954..de67ae60d1b3 100644
--- a/drivers/mmc/host/sdhci-acpi.c
+++ b/drivers/mmc/host/sdhci-acpi.c
@@ -206,12 +206,14 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = {
206 MMC_CAP_HW_RESET | MMC_CAP_1_8V_DDR, 206 MMC_CAP_HW_RESET | MMC_CAP_1_8V_DDR,
207 .caps2 = MMC_CAP2_HC_ERASE_SZ, 207 .caps2 = MMC_CAP2_HC_ERASE_SZ,
208 .flags = SDHCI_ACPI_RUNTIME_PM, 208 .flags = SDHCI_ACPI_RUNTIME_PM,
209 .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
209 .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN | SDHCI_QUIRK2_STOP_WITH_TC, 210 .quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN | SDHCI_QUIRK2_STOP_WITH_TC,
210 .probe_slot = sdhci_acpi_emmc_probe_slot, 211 .probe_slot = sdhci_acpi_emmc_probe_slot,
211}; 212};
212 213
213static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = { 214static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = {
214 .quirks = SDHCI_QUIRK_BROKEN_CARD_DETECTION, 215 .quirks = SDHCI_QUIRK_BROKEN_CARD_DETECTION |
216 SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
215 .quirks2 = SDHCI_QUIRK2_HOST_OFF_CARD_ON, 217 .quirks2 = SDHCI_QUIRK2_HOST_OFF_CARD_ON,
216 .caps = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD, 218 .caps = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD,
217 .flags = SDHCI_ACPI_RUNTIME_PM, 219 .flags = SDHCI_ACPI_RUNTIME_PM,
@@ -222,6 +224,7 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = {
222static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sd = { 224static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sd = {
223 .flags = SDHCI_ACPI_SD_CD | SDHCI_ACPI_SD_CD_OVERRIDE_LEVEL | 225 .flags = SDHCI_ACPI_SD_CD | SDHCI_ACPI_SD_CD_OVERRIDE_LEVEL |
224 SDHCI_ACPI_RUNTIME_PM, 226 SDHCI_ACPI_RUNTIME_PM,
227 .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
225 .quirks2 = SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON | 228 .quirks2 = SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON |
226 SDHCI_QUIRK2_STOP_WITH_TC, 229 SDHCI_QUIRK2_STOP_WITH_TC,
227 .probe_slot = sdhci_acpi_sd_probe_slot, 230 .probe_slot = sdhci_acpi_sd_probe_slot,