RE: i2c:clk: preparation for switch to common clock framework
From: Karicheri, Muralidharan <hidden>
Date: 2012-09-13 18:45:06
Also in:
lkml
quoted
-----Original Message----- From: Wolfram Sang [mailto:w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org] Sent: Thursday, September 13, 2012 5:30 AM To: Karicheri, Muralidharan Cc: Nori, Sekhar; Hilman, Kevin; khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org; ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org; davinci-linux- open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org; linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux- kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: Re: i2c:clk: preparation for switch to common clock framework On Thu, Aug 30, 2012 at 06:10:36PM -0000, m-karicheri2-l0cyMroinI0@public.gmane.org wrote:quoted
As a first step towards migrating davinci platforms to use common clock framework, replace all instances of clk_enable() with clk_prepare_enable() and clk_disable() with clk_disable_unprepare(). Until the platform is switched to use the CONFIG_HAVE_CLK_PREPARE Kconfig variable, this just adds a might_sleep() call and would work without any issues. This will make it easy later to switch to common clk based implementation of clk driver from DaVinci specific driver. Signed-off-by: Murali Karicheri <redacted>Subject had "i2c:clk" where "i2c: davinci" would be more precise. Fixed that and pushed to -next. Thanks, Wolfram
Wolfram, Thanks for pushing this to -next. Greatly appreciated. Murali
quoted
-- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |