mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
Merge branch 'pm-domains'
* pm-domains: PM / Domains: Check domain status during hibernation restore of devices
This commit is contained in:
commit
98e8bdafeb
|
|
@ -1127,6 +1127,9 @@ static int pm_genpd_restore_noirq(struct device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
if (genpd->suspend_power_off)
|
||||
return 0;
|
||||
|
||||
pm_genpd_poweron(genpd);
|
||||
|
||||
return dev_gpd_data(dev)->always_on ? 0 : genpd_start_dev(genpd, dev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user