From b3d2a0441d7196f38c0149024580f68477bacc17 Mon Sep 17 00:00:00 2001 From: Hyeonseong Gil Date: Fri, 7 Apr 2017 15:03:13 +0900 Subject: [PATCH] [COMMON] thermal: power_alloctor: use only one passive trip point Change-Id: I41998e0ffeef9bd10e717cd1d2bd6174c4f93c07 Signed-off-by: Hyeonseong Gil --- drivers/thermal/power_allocator.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.20.1