]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cpufreq: skip invalid entries when searching the frequency
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 12 Oct 2016 03:15:05 +0000 (08:45 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 Oct 2016 19:01:18 +0000 (21:01 +0200)
commit899bb6642f2a2f2cd3f77abd6c5a14550e3b37e6
tree92e040a386c695f13a5222003687006715bf03ae
parent3954517e2f083c8aeb52bfd467b7b2c164232ffc
cpufreq: skip invalid entries when searching the frequency

Skip invalid entries when searching the frequency. This fixes cpufreq
at least on loongson2 MIPS board.

Fixes: da0c6dc00c69 (cpufreq: Handle sorted frequency tables more efficiently)
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 4.8+ <stable@vger.kernel.org> # 4.8+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/cpufreq.h