cppc_cpufreq: clarify support for coordination types
authorIonela Voinescu <ionela.voinescu@arm.com>
Mon, 14 Dec 2020 12:38:21 +0000 (12:38 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Dec 2020 18:19:32 +0000 (19:19 +0100)
commitbf76bb208f2b653306f2fc8f9c2a22f9890702bd
treed92b984bdc29b7ca8195af960064ad92157691b8
parentd2641a5c3d5ecaa1078225e493c7fed821715a04
cppc_cpufreq: clarify support for coordination types

The previous coordination type handling in the cppc_cpufreq init code
created some confusion: the comment mentioned "Support only SW_ANY for
now" while only the SW_ALL/ALL case resulted in a failure. The other
coordination types (HW_ALL/HW, NONE) were silently supported.

Clarify support for coordination types while describing in comments the
intended behavior.

Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cppc_cpufreq.c