mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 14:17:28 +07: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