thermal: gov_power_allocator: Check the cooling devices only for trip_max
authorLukasz Luba <lukasz.luba@arm.com>
Wed, 25 Oct 2023 19:22:21 +0000 (20:22 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 Nov 2023 15:02:14 +0000 (16:02 +0100)
commitc7568e78411a67b28fe23acda934cd26d9dc42a3
tree7a24adbba8f8458b9ba0199a7896a82dd279a030
parente83747c2f8e3cc5e284e37a8921099f1901d79d8
thermal: gov_power_allocator: Check the cooling devices only for trip_max

The throttling logic only cares about the last passive trip point and
the cooling devices attached to it.

Therefore, there is no need to bail out if other trip points have
cooling devices which are not a supported by the IPA.

Check the cooling devices only for 'trip_max' during the binding.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/gov_power_allocator.c