PM: EM: Fix inefficient states detection
[ Upstream commit aa1a4326 ] Currently, a debug message is printed if an inefficient state is detected in the Energy Model. Unfortunately, it won't detect if the first state is inefficient or if two successive states are. Fix this behavior. Fixes: 27871f7a (PM: Introduce an Energy Model management framework) Signed-off-by:Vincent Donnefort <vincent.donnefort@arm.com> Reviewed-by:
Quentin Perret <qperret@google.com> Reviewed-by:
Lukasz Luba <lukasz.luba@arm.com> Reviewed-by:
Matthias Kaehlcke <mka@chromium.org> Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment