mmc: sdhci-acpi: fix initial runtime pm status
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 Apr 2013 08:27:21 +0000 (11:27 +0300)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 17:50:49 +0000 (13:50 -0400)
Initial runtime pm status is active.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-acpi.c

index 7bcf74b..1da5f29 100644 (file)
@@ -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);