Skip to content

Commit 1d1ff45

Browse files
ahunter6cjb
authored andcommitted
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>
1 parent 8c964df commit 1d1ff45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mmc/host/sdhci-acpi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ static int sdhci_acpi_probe(struct platform_device *pdev)
202202
goto err_free;
203203

204204
if (c->use_runtime_pm) {
205+
pm_runtime_set_active(dev);
205206
pm_suspend_ignore_children(dev, 1);
206207
pm_runtime_set_autosuspend_delay(dev, 50);
207208
pm_runtime_use_autosuspend(dev);

0 commit comments

Comments
 (0)