Messages in this thread | | | Date | Sat, 1 Sep 2012 01:14:09 +0200 | Subject | Re: [PATCH] gpio:clk: preparation for switch to common clock framework | From | Linus Walleij <> |
| |
On Thu, Aug 30, 2012 at 8:03 PM, Murali Karicheri <m-karicheri2@ti.com> 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@ti.com>
OK the patch is so obviously correct so I just applied it, DaVinci folks, scream if you still don't want it for some reason...
Yours, Linus Walleij
| |