* pm-domains: PM / Domains: Fix bad of_node_put() in failure paths of genpd_dev_pm_attach() PM / Domains: Validate cases of a non-bound driver in genpd governor * pm-cpufreq: cpufreq: use last policy after online for drivers with ->setpolicy
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -77,6 +77,7 @@ struct cpufreq_policy { · 76 unmodified lines | ||
| 77 | 77 | unsigned int suspend_freq; /* freq to set during suspend */ |
| 78 | 78 | |
| 79 | 79 | unsigned int policy; /* see above */ |
| 80 | + unsigned int last_policy; /* policy before unplug */ | |
| 80 | 81 | struct cpufreq_governor *governor; /* see below */ |
| 81 | 82 | void *governor_data; |
| 82 | 83 | bool governor_enabled; /* governor start/stop flag */ |