Re: [PATCH 1/1] mtd:nand:clk: preparation for switch to common clockframework
From: Sekhar Nori
Date: Tue Oct 09 2012 - 09:09:31 EST
On 10/9/2012 6:33 PM, Sekhar Nori wrote:
> On 9/17/2012 10:07 PM, Murali Karicheri 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>
>> Reviewed-by: Mike Turquette <mturquette@xxxxxxxxxx>
>
> Tested this using NAND flash on DA850 EVM.
>
> Acked-by: Sekhar Nori <nsekhar@xxxxxx>
>
> Any chance this can make into the v3.7 kernel?
Just noticed another thread where Artem replied saying this patch is
pushed. Sorry about the noise.
Thanks,
Sekhar
--
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/