From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756099Ab2DXRF3 (ORCPT ); Tue, 24 Apr 2012 13:05:29 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:61983 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755490Ab2DXRF1 (ORCPT ); Tue, 24 Apr 2012 13:05:27 -0400 MIME-Version: 1.0 In-Reply-To: <20120424142939.GG24089@lunn.ch> References: <20120424120019.GE24089@lunn.ch> <20120424142939.GG24089@lunn.ch> Date: Tue, 24 Apr 2012 22:35:26 +0530 Message-ID: Subject: Re: [PATCH V3 07/12] ata/sata_mv: Remove conditional compilation of clk code From: viresh kumar To: viresh kumar , Andrew Lunn , Viresh Kumar , akpm@linux-foundation.org, spear-devel@list.st.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mturquette@linaro.org, sshtylyov@mvista.com, jgarzik@redhat.com, linux@arm.linux.org.uk, linux-ide@vger.kernel.org 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 On 4/24/12, Andrew Lunn wrote: > static int __clk_enable(struct clk *clk) > { > int ret = 0; > > if (!clk) > return 0; > > if (WARN_ON(clk->prepare_count == 0)) > return -ESHUTDOWN; > > this should actually be clk_prepare_enable(). Did you see my > patches adding generic clk framework support for Orion. I fixed > this as part of that patch set. Sorry for missing it earlier. Ya i know it must be clk_prepare_enable(), but it wasn't motive of my patchset. Sorry, i haven't gone through your patches for Orion. -- viresh