diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2016-05-20 03:33:48 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-05-23 05:52:41 -0400 |
commit | 265984b36ce82fec67957d452dd2b22e010611e4 (patch) | |
tree | a3bd74f100ba2b0ca28c9cda679cd5cbc4f158fa | |
parent | 822969369482166050c5b2f7013501505e025c39 (diff) |
mmc: sdhci-acpi: Remove MMC_CAP_BUS_WIDTH_TEST for Intel controllers
The CMD19/CMD14 bus width test has been found to be unreliable in
some cases. It is not essential, so simply remove it.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/host/sdhci-acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index 2d1c4870c285..458ffb7637e5 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c | |||
@@ -274,7 +274,7 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = { | |||
274 | .chip = &sdhci_acpi_chip_int, | 274 | .chip = &sdhci_acpi_chip_int, |
275 | .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | | 275 | .caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | |
276 | MMC_CAP_HW_RESET | MMC_CAP_1_8V_DDR | | 276 | MMC_CAP_HW_RESET | MMC_CAP_1_8V_DDR | |
277 | MMC_CAP_BUS_WIDTH_TEST | MMC_CAP_WAIT_WHILE_BUSY, | 277 | MMC_CAP_WAIT_WHILE_BUSY, |
278 | .caps2 = MMC_CAP2_HC_ERASE_SZ, | 278 | .caps2 = MMC_CAP2_HC_ERASE_SZ, |
279 | .flags = SDHCI_ACPI_RUNTIME_PM, | 279 | .flags = SDHCI_ACPI_RUNTIME_PM, |
280 | .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, | 280 | .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, |
@@ -289,7 +289,7 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = { | |||
289 | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, | 289 | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, |
290 | .quirks2 = SDHCI_QUIRK2_HOST_OFF_CARD_ON, | 290 | .quirks2 = SDHCI_QUIRK2_HOST_OFF_CARD_ON, |
291 | .caps = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD | | 291 | .caps = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD | |
292 | MMC_CAP_BUS_WIDTH_TEST | MMC_CAP_WAIT_WHILE_BUSY, | 292 | MMC_CAP_WAIT_WHILE_BUSY, |
293 | .flags = SDHCI_ACPI_RUNTIME_PM, | 293 | .flags = SDHCI_ACPI_RUNTIME_PM, |
294 | .pm_caps = MMC_PM_KEEP_POWER, | 294 | .pm_caps = MMC_PM_KEEP_POWER, |
295 | .probe_slot = sdhci_acpi_sdio_probe_slot, | 295 | .probe_slot = sdhci_acpi_sdio_probe_slot, |
@@ -301,7 +301,7 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sd = { | |||
301 | .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, | 301 | .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, |
302 | .quirks2 = SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON | | 302 | .quirks2 = SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON | |
303 | SDHCI_QUIRK2_STOP_WITH_TC, | 303 | SDHCI_QUIRK2_STOP_WITH_TC, |
304 | .caps = MMC_CAP_BUS_WIDTH_TEST | MMC_CAP_WAIT_WHILE_BUSY, | 304 | .caps = MMC_CAP_WAIT_WHILE_BUSY, |
305 | .probe_slot = sdhci_acpi_sd_probe_slot, | 305 | .probe_slot = sdhci_acpi_sd_probe_slot, |
306 | }; | 306 | }; |
307 | 307 | ||