Skip to content

Commit

Permalink
mmc: sdhci-acpi: fix initial runtime pm status
Browse files Browse the repository at this point in the history
Initial runtime pm status is active.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
  • Loading branch information
Adrian Hunter authored and Chris Ball committed May 26, 2013
1 parent 8c964df commit 1d1ff45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mmc/host/sdhci-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1d1ff45

Please sign in to comment.