]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
thermal: core: skip update disabled thermal zones after suspend
authorWei Wang <wvw@google.com>
Tue, 16 Apr 2019 17:07:01 +0000 (10:07 -0700)
committerZhang Rui <rui.zhang@intel.com>
Mon, 6 May 2019 12:35:11 +0000 (20:35 +0800)
commitff54bbd1beb24224e82cfe3e76668ee79ff32945
tree18b38abef42f263cbc90c04739c322ff8f25e52d
parentf991de53a8abef21fae3e31967cb4f6a75c070b5
thermal: core: skip update disabled thermal zones after suspend

It is unnecessary to update disabled thermal zones post suspend and
sometimes leads error/warning in bad behaved thermal drivers.

Signed-off-by: Wei Wang <wvw@google.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c