summaryrefslogtreecommitdiff
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2013-04-26 08:27:21 (GMT)
committerChris Ball <cjb@laptop.org>2013-05-26 17:50:49 (GMT)
commit1d1ff45871984364056ebfc528ed31ff7f03f970 (patch)
treec314f71e915e0b0eaf7a2c2d0d62e744cea0bbfa /drivers/mmc/host
parent8c964df07aaf0e70d1756d204c306f69ca5023b8 (diff)
downloadlinux-fsl-qoriq-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/host')
-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 7bcf74b..1da5f29 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);