]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: core: Add and use a reverse thermal zone guard
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Oct 2024 22:07:11 +0000 (00:07 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 23 Oct 2024 09:56:27 +0000 (11:56 +0200)
commit57f076664c4debb2fff57e42098698f1993826f4
tree805eed8f6bedf9d9884f0f5ab5f7245814f39857
parentcba00d16a2b0b0cfc8266124266ed23ab9eae918
thermal: core: Add and use a reverse thermal zone guard

Add a guard for unlocking a locked thermal zone temporarily and use it
in thermal_zone_pm_prepare().

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3344086.aeNJFYEL58@rjwysocki.net
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
drivers/thermal/thermal_core.c
drivers/thermal/thermal_core.h