Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755985AbcJLT2H (ORCPT ); Wed, 12 Oct 2016 15:28:07 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:52017 "HELO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755137AbcJLT2H (ORCPT ); Wed, 12 Oct 2016 15:28:07 -0400 From: "Rafael J. Wysocki" To: Aaro Koskinen , Viresh Kumar Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] cpufreq: skip invalid entries when searching the frequency Date: Wed, 12 Oct 2016 21:34:51 +0200 Message-ID: <5873941.X9i1CsAkCq@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.8.0-rc2+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20161012183303.GA31195@raspberrypi.musicnaut.iki.fi> References: <10213813.22087-1-aaro.koskinen@iki.fi> <3b0a25515d3dc44d8fbdb91a35eaa13565a204f6.1476241978.git.viresh.kumar@linaro.org> <20161012183303.GA31195@raspberrypi.musicnaut.iki.fi> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 718 Lines: 26 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 > > > > 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 > > Signed-off-by: Viresh Kumar > > --- > > 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