Documentation: cpu-freq: Frequencies aren't always sorted
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 29 Oct 2018 07:17:40 +0000 (12:47 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Nov 2018 12:29:04 +0000 (13:29 +0100)
commit8d72ee3266f08fd3490011ee7b95ffc31e66fd6d
tree87ee5e61f7061b6ff07415f73f49eaae2f072478
parent651022382c7f8da46cb4872a545ee1da6d097d2a
Documentation: cpu-freq: Frequencies aren't always sorted

The order in which the frequencies are displayed in cpufreq stats
depends on the order in which the frequencies were sorted in the
frequency table provided to cpufreq core by the cpufreq driver. They can
be completely unsorted as well.

The documentation's claim that the stats will be sorted in descending
order is hence incorrect and here is an attempt to fix it.

Reported-by: Pavel <pavel2000@ngs.ru>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/cpu-freq/cpufreq-stats.txt