RE: i2c:clk: preparation for switch to common clock framework

From: Karicheri, Muralidharan
Date: Thu Sep 13 2012 - 14:45:00 EST


>> -----Original Message-----
>> From: Wolfram Sang [mailto:w.sang@xxxxxxxxxxxxxx]
>> Sent: Thursday, September 13, 2012 5:30 AM
>> To: Karicheri, Muralidharan
>> Cc: Nori, Sekhar; Hilman, Kevin; khali@xxxxxxxxxxxx; ben-linux@xxxxxxxxx; davinci-linux-
>> open-source@xxxxxxxxxxxxxxxxxxxx; linux-i2c@xxxxxxxxxxxxxxx; linux-
>> kernel@xxxxxxxxxxxxxxx
>> Subject: Re: i2c:clk: preparation for switch to common clock framework
>>
>> 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.
>>
>> Thanks,
>>
>> Wolfram

Wolfram,

Thanks for pushing this to -next. Greatly appreciated.

Murali
>>
>> --
>> Pengutronix e.K. | Wolfram Sang |
>> Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/