Commit 98e8bdaf authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

Merge branch 'pm-domains'

* pm-domains:
  PM / Domains: Check domain status during hibernation restore of devices
parents 0f0cc168 18dd2ece
...@@ -1127,6 +1127,9 @@ static int pm_genpd_restore_noirq(struct device *dev) ...@@ -1127,6 +1127,9 @@ static int pm_genpd_restore_noirq(struct device *dev)
} }
} }
if (genpd->suspend_power_off)
return 0;
pm_genpd_poweron(genpd); pm_genpd_poweron(genpd);
return dev_gpd_data(dev)->always_on ? 0 : genpd_start_dev(genpd, dev); return dev_gpd_data(dev)->always_on ? 0 : genpd_start_dev(genpd, dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment