]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal: core: Avoid calling .trip_crossed() for critical and hot trips
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 May 2024 16:54:11 +0000 (18:54 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Jun 2024 19:06:44 +0000 (21:06 +0200)
commit72196c20c38b50c4293696377145e6c4ad9a7c67
tree308ab5ef06febf414838f70d02a5fdb86942ca66
parent2c637af8a74d9a2a52ee5456a75dd29c8cb52da5
thermal: core: Avoid calling .trip_crossed() for critical and hot trips

Invoking the governor .trip_crossed() callback for critical and hot
trips is pointless because they are handled directly by the core,
so make thermal_governor_trip_crossed() avoid doing that.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/thermal_core.c