On Wednesday, October 12, 2016 09:33:03 PM Aaro Koskinen wrote:
Hi,
On Wed, Oct 12, 2016 at 08:45:05AM +0530, Viresh Kumar wrote:
From: Aaro Koskinen aaro.koskinen@iki.fi
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
V1->V2:
- Use cpufreq_frequency_table() instead.
Hi Aaro,
Can you please test this patch instead?
Seems to work as well.
I'm going to apply this patch then.
Thanks, Rafael