thermal: power_allocator: relax the requirement of two passive trip points
authorJavi Merino <javi.merino@arm.com>
Mon, 14 Sep 2015 13:23:52 +0000 (14:23 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 14 Sep 2015 14:41:45 +0000 (07:41 -0700)
commit8b7b390f805f09ff252351468a79ebabde1ab55a
tree6682494c4b7188604c5eb6d8719538615b4e0ff5
parente055bb0f9a6e5c09bedf41c2a5b881edbd7f2ed0
thermal: power_allocator: relax the requirement of two passive trip points

The power allocator governor currently requires that the thermal zone
has at least two passive trip points.  If there aren't, the governor
refuses to bind to the thermal zone.

This commit relaxes that requirement.  Now the governor will bind to all
thermal zones regardless of how many trip points they have.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Documentation/thermal/power_allocator.txt
drivers/thermal/power_allocator.c
This page took 0.025344 seconds and 5 git commands to generate.