summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-acpi.c
diff options
context:
space:
mode:
authorAdrian Hunter2013-04-26 10:27:21 +0200
committerChris Ball2013-05-26 19:50:49 +0200
commit1d1ff45871984364056ebfc528ed31ff7f03f970 (patch)
treec314f71e915e0b0eaf7a2c2d0d62e744cea0bbfa /drivers/mmc/host/sdhci-acpi.c
parentmmc: atmel-mci: convert to dma_request_slave_channel_compat() (diff)
downloadkernel-qcow2-linux-1d1ff45871984364056ebfc528ed31ff7f03f970.tar.gz
kernel-qcow2-linux-1d1ff45871984364056ebfc528ed31ff7f03f970.tar.xz
kernel-qcow2-linux-1d1ff45871984364056ebfc528ed31ff7f03f970.zip
mmc: sdhci-acpi: fix initial runtime pm status
Initial runtime pm status is active. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-acpi.c')
-rw-r--r--drivers/mmc/host/sdhci-acpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
index 7bcf74b1a5cd..1da5f29abbcb 100644
--- a/drivers/mmc/host/sdhci-acpi.c
+++ b/drivers/mmc/host/sdhci-acpi.c
@@ -202,6 +202,7 @@ static int sdhci_acpi_probe(struct platform_device *pdev)
goto err_free;
if (c->use_runtime_pm) {
+ pm_runtime_set_active(dev);
pm_suspend_ignore_children(dev, 1);
pm_runtime_set_autosuspend_delay(dev, 50);
pm_runtime_use_autosuspend(dev);