diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-04-07 16:09:21 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-04-08 12:30:31 +0200 |
| commit | d33e89d12295087afd108a42f5e240ff53820461 (patch) | |
| tree | abb2ab3c8e1cd68db77798b588e5e7929cef94fb /drivers/lguest/git@git.tavy.me:linux.git | |
| parent | c4c6a8646359612db34c76f58799f5206945e365 (diff) | |
thermal: core: Suspend thermal zones later and resume them earlier
To avoid some undesirable interactions between thermal zone suspend
and resume with user space that is running when those operations are
carried out, move them closer to the suspend and resume of devices,
respectively, by updating dpm_prepare() to carry out thermal zone
suspend and dpm_complete() to start thermal zone resume (that will
continue asynchronously).
This also makes the code easier to follow by removing one, arguably
redundant, level of indirection represented by the thermal PM notifier.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/2036875.PYKUYFuaPT@rafael.j.wysocki
Diffstat (limited to 'drivers/lguest/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
