cpufreq: Clarify the comment in cpufreq_set_policy()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 22 Oct 2019 10:17:57 +0000 (15:47 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Nov 2019 10:44:26 +0000 (11:44 +0100)
commit737ffb27f2f1a8fe6644cac535486f7f25bbf6cb
treef33d823defe543a04ee81b14edf3d0d9cca274bb
parentd6d5df1db6e9d7f8f76d2911707f7d5877251b02
cpufreq: Clarify the comment in cpufreq_set_policy()

One of the responsibility of the ->verify() callback is to make sure
that the policy's min frequency is <= max frequency as this isn't
guaranteed by the QoS framework which gave us those values.

Update the comment in cpufreq_set_policy() to clarify that.

Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Minor changes of the new comment ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c