From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753011AbbEDKu4 (ORCPT ); Mon, 4 May 2015 06:50:56 -0400 Received: from mail-by2on0106.outbound.protection.outlook.com ([207.46.100.106]:46976 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752469AbbEDKut (ORCPT ); Mon, 4 May 2015 06:50:49 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Date: Mon, 4 May 2015 18:38:37 +0800 From: Dong Aisheng To: Stephen Boyd CC: Dong Aisheng , , , , , , , , , Subject: Re: [PATCH RFC v1 5/5] clk: introduce clk_core_enable_lock and clk_core_disable_lock functions Message-ID: <20150504103836.GE4082@shlinux1.ap.freescale.net> References: <1429107999-24413-1-git-send-email-aisheng.dong@freescale.com> <1429107999-24413-6-git-send-email-aisheng.dong@freescale.com> <20150501011043.GF32407@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20150501011043.GF32407@codeaurora.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(51914003)(199003)(189002)(51704005)(77156002)(62966003)(50986999)(54356999)(6806004)(46406003)(92566002)(50466002)(77096005)(4001350100001)(2950100001)(23726002)(110136002)(5001920100001)(107886002)(5001960100002)(47776003)(83506001)(33656002)(87936001)(106466001)(97756001)(46102003)(85426001)(104016003)(19580395003)(19580405001)(105606002)(42262002)(4001430100001)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR03MB1375;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1375; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:CY1PR03MB1375;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1375; X-Forefront-PRVS: 05669A7924 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2015 10:50:46.5248 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1375 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 30, 2015 at 06:10:43PM -0700, Stephen Boyd wrote: > On 04/15, Dong Aisheng wrote: > > This can be usefully when clock core wants to enable/disable clocks. > > Then we don't have to convert the struct clk_core to struct clk to call > > clk_enable/clk_disable which is a bit un-align with exist using. > > > > Cc: Mike Turquette > > Cc: Stephen Boyd > > Signed-off-by: Dong Aisheng > > --- > > Yeah let's add this patch either before patch 4 or squash it into > patch 4. Also, avoid adding more function prototypes please. > Will do it. Thanks for the suggestion. Regards Dong Aisheng > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, > a Linux Foundation Collaborative Project