From: Russell King - ARM Linux Subject: Re: [PATCH V3 Resend] cpufreq: create cpufreq_generic_get() routine Date: Thu, 9 Jan 2014 11:33:00 +0000 Message-ID: <20140109113300.GA27432@n2100.arm.linux.org.uk> References: Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=arm.linux.org.uk; s=pandora; h=Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=GFkCM6TtR6ty+l+WS7bhYA/v1noXIWz027p4Q2PCI8g=; b=F/ZzlfIf/XjVfoC/3qUl2hw1MN9NEYpcUxJm5LbkT3fRlDcCGt11D2NkYwfQGqEg1g0QWDYvOCdEtnY+M6DMTDabR2899wEEbNe51fOsZhICo5RGaUzmodl5werPoKuyS5BMdxQ+ENcD5ZP9jgymJS7DiJmHzgJht19Yf65S3do=; Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Viresh Kumar Cc: Olof Johansson , "linux-arm-kernel@lists.infradead.org" , Fengguang Wu , "Rafael J. Wysocki" , "linaro-kernel@lists.linaro.org" , Patch Tracking , "cpufreq@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" On Thu, Jan 09, 2014 at 02:56:28PM +0530, Viresh Kumar wrote: > Naah.. After some investigation I found this: > > - We already have dummy implementations of clk routines in case > CONFIG_HAVE_CLK is not defined (I added them long back). > > - There is one thing common among all above defconfigs, all > belong to SA1100 family :) > > - And the problem is: SA1100 wanted to define its own clk routines > and selects CLKDEV_LOOKUP (which enables HAVE_CLK), but it > doesn't implement all clk routines. Which is *wrong*. No, it implements only what it's clk API implementation requires. > @Russell: If above looks correct then can you please communicate > what should we do here? I don't really know what exactly these > routines should have, simply a copy of dummy routines from clk.h > or some meaningful stuff. So, maybe you can write a patch, otherwise > let me know what to write and I will give it a try. I've no idea at the moment, and I don't have time to look at this. -- FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad. Estimate before purchase was "up to 13.2Mbit".