summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pci.c
diff options
context:
space:
mode:
authorAaron Lu2013-03-05 04:24:52 +0100
committerChris Ball2013-03-22 17:26:54 +0100
commiteed222aca8d077af3600b651176f6fd04d95cce1 (patch)
tree741ebe379dda6cf1eaf9632812b2e9febc6fccb7 /drivers/mmc/host/sdhci-pci.c
parentmmc: sdhci: add get_cd() implementation (diff)
downloadkernel-qcow2-linux-eed222aca8d077af3600b651176f6fd04d95cce1.tar.gz
kernel-qcow2-linux-eed222aca8d077af3600b651176f6fd04d95cce1.tar.xz
kernel-qcow2-linux-eed222aca8d077af3600b651176f6fd04d95cce1.zip
mmc: sdio: bind acpi with sdio function device
ACPI spec 5 defined the _ADR encoding for sdio bus as: High word - slot number (0 based) Low word - function number This patch adds support for binding sdio function device with acpi node, and if successful, involve acpi into its power management. Signed-off-by: Aaron Lu <aaron.lu@intel.com> Reviewed-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index c7ccf3034dad..3dee22d098e9 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -1279,6 +1279,7 @@ static struct sdhci_pci_slot *sdhci_pci_probe_slot(
}
host->mmc->pm_caps = MMC_PM_KEEP_POWER | MMC_PM_WAKE_SDIO_IRQ;
+ host->mmc->slotno = slotno;
ret = sdhci_add_host(host);
if (ret)