From: Hyeonseong Gil Date: Fri, 7 Apr 2017 06:03:13 +0000 (+0900) Subject: [COMMON] thermal: power_alloctor: use only one passive trip point X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3d2a0441d7196f38c0149024580f68477bacc17;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] thermal: power_alloctor: use only one passive trip point Change-Id: I41998e0ffeef9bd10e717cd1d2bd6174c4f93c07 Signed-off-by: Hyeonseong Gil --- diff --git a/drivers/thermal/power_allocator.c b/drivers/thermal/power_allocator.c index eee892bdebc0..8082bbf2b719 100644 --- a/drivers/thermal/power_allocator.c +++ b/drivers/thermal/power_allocator.c @@ -508,6 +508,7 @@ static void get_governor_trips(struct thermal_zone_device *tz, if (!found_first_passive) { params->trip_switch_on = i; found_first_passive = true; + break; } else { last_passive = i; }