summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2013-04-26 12:27:21 +0400
committerChris Ball <cjb@laptop.org>2013-05-26 21:50:49 +0400
commit1d1ff45871984364056ebfc528ed31ff7f03f970 (patch)
treec314f71e915e0b0eaf7a2c2d0d62e744cea0bbfa /drivers/mmc
parent8c964df07aaf0e70d1756d204c306f69ca5023b8 (diff)
downloadlinux-1d1ff45871984364056ebfc528ed31ff7f03f970.tar.xz
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')
-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);