Re: i2c:clk: preparation for switch to common clock framework
From: Wolfram Sang
Date: Thu Sep 13 2012 - 05:30:02 EST
On Thu, Aug 30, 2012 at 06:10:36PM -0000, m-karicheri2@xxxxxx wrote:
> 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 <m-karicheri2@xxxxxx>
Subject had "i2c:clk" where "i2c: davinci" would be more precise.
Fixed that and pushed to -next.
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Description: Digital signature