aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-10-11 00:12:11 +0200
committerRafael J. Wysocki <[email protected]>2024-10-23 11:56:49 +0200
commit33eab804d695dc2be1491890143a64ea4d99cd42 (patch)
tree941b13663c208c21902e87f6fe20abce93cc874e /scripts/generate_rust_analyzer.py
parentd1c8aa2a5c5c624f25efc78000ea9801948aea15 (diff)
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Lukasz Luba <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions