diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2012-01-30 13:27:18 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-02-14 02:39:01 +0100 |
commit | 012e4671e445ac1dd04f40c0b974685280bedca3 (patch) | |
tree | 21cf18b285b52f42687f93aea6064940f51b0d4a | |
parent | mmc: core: add the capability for broken voltage (diff) | |
download | linux-012e4671e445ac1dd04f40c0b974685280bedca3.tar.xz linux-012e4671e445ac1dd04f40c0b974685280bedca3.zip |
mmc: sdhci-pci: set Medfield SDIO as non-removable
Set Medfield SDIO as non-removable to avoid un-necessary
card detect activity.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 7165e6a09274..6ebdc4010e7c 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -250,7 +250,7 @@ static int mfd_emmc_probe_slot(struct sdhci_pci_slot *slot) static int mfd_sdio_probe_slot(struct sdhci_pci_slot *slot) { - slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD; + slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE; return 0; } |