Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759442Ab3HNHiZ (ORCPT ); Wed, 14 Aug 2013 03:38:25 -0400 Received: from mail-la0-f47.google.com ([209.85.215.47]:45783 "EHLO mail-la0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759173Ab3HNHiX (ORCPT ); Wed, 14 Aug 2013 03:38:23 -0400 MIME-Version: 1.0 In-Reply-To: References: <1376377766-2594-1-git-send-email-chenxg@marvell.com> <1376377766-2594-2-git-send-email-chenxg@marvell.com> Date: Wed, 14 Aug 2013 15:38:21 +0800 Message-ID: Subject: Re: [PATCH 2/2] cpufreq: Only do governor start after successful stop From: Xiaoguang Chen To: Viresh Kumar Cc: Xiaoguang Chen , "cpufreq@vger.kernel.org" , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , "Rafael J. Wysocki" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 25 2013/8/14 Viresh Kumar : > On 13 August 2013 12:39, Xiaoguang Chen wrote: >> cpufreq_add_policy_cpu, __cpufreq_remove_dev and __cpufreq_set_policy >> have operations for governor stop and start. >> Only do the start operation when the previous stop operation succeeds. >> >> Signed-off-by: Xiaoguang Chen >> --- >> drivers/cpufreq/cpufreq.c | 25 +++++++++++++++---------- >> 1 file changed, 15 insertions(+), 10 deletions(-) > > I hope you have seen this patch, which is already in Rafael's tree? > > https://lkml.org/lkml/2013/8/6/357 ohh, That is exactly what my patch tries to do. Sorry I just checked mainline patch. I missed this one. Thank you very much! Thanks Xiaoguang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/