projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8201f
)
mmc: sdhci-pci: set Medfield SDIO as non-removable
author
Adrian Hunter
<adrian.hunter@intel.com>
Mon, 30 Jan 2012 12:27:18 +0000
(14:27 +0200)
committer
Chris Ball
<cjb@laptop.org>
Tue, 14 Feb 2012 01:39:01 +0000
(20:39 -0500)
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>
drivers/mmc/host/sdhci-pci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-pci.c
b/drivers/mmc/host/sdhci-pci.c
index 7165e6a092742e82f9b7cf108ad9f034a1173304..6ebdc4010e7ccb46e6f1052357fcdaca5dc3ecc9 100644
(file)
--- 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;
}