diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2012-01-30 12:27:18 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-02-14 01:39:01 (GMT) |
commit | 012e4671e445ac1dd04f40c0b974685280bedca3 (patch) | |
tree | 21cf18b285b52f42687f93aea6064940f51b0d4a /drivers/mmc/host/sdhci-pci.c | |
parent | 6e8201f57c9359c9c5dc8f9805c15a4392492a10 (diff) | |
download | linux-012e4671e445ac1dd04f40c0b974685280bedca3.tar.xz |
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.c')
-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 7165e6a..6ebdc40 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; } |