diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-11 01:12:11 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-23 12:56:49 +0300 |
commit | 33eab804d695dc2be1491890143a64ea4d99cd42 (patch) | |
tree | 941b13663c208c21902e87f6fe20abce93cc874e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d1c8aa2a5c5c624f25efc78000ea9801948aea15 (diff) | |
download | linux-33eab804d695dc2be1491890143a64ea4d99cd42.tar.xz |
thermal: core: Call thermal_governor_update_tz() outside of cdev lock
Holding a cooling device lock under thermal_governor_update_tz() is not
necessary and it may cause lockdep to complain if any governor's
.update_tz() callback attempts to lock a cdev.
For this reason, move the thermal_governor_update_tz() calls in
thermal_bind_cdev_to_trip() and thermal_unbind_cdev_from_trip() from
under the cdev lock.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/7749552.EvYhyI6sBW@rjwysocki.net
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions