summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-10-04 21:11:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:01:17 +0100
commitf52dc3c757f0ea673229443d059e30b3354ddc18 (patch)
treedbc1f8c9bc5645e5eef8cdd61a14cd76b6583c6c /scripts
parent933ef9360a691374e02fda0472d4045554d40d77 (diff)
downloadlinux-f52dc3c757f0ea673229443d059e30b3354ddc18.tar.gz
linux-f52dc3c757f0ea673229443d059e30b3354ddc18.tar.bz2
linux-f52dc3c757f0ea673229443d059e30b3354ddc18.zip
thermal: core: Represent suspend-related thermal zone flags as bits
[ Upstream commit 26c9ab8090cda1eb3d42f491cc32d227404897da ] Instead of using two separate fields in struct thermal_zone_device for representing flags related to thermal zone suspend, represent them explicitly as bits in one u8 "state" field. Subsequently, that field will be used for addressing race conditions related to thermal zone initialization and exit. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/7733910.EvYhyI6sBW@rjwysocki.net Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Stable-dep-of: 7837fa8115e0 ("thermal: core: Mark thermal zones as initializing to start with") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions