]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: davinci: convert platform code to use clk_prepare/clk_unprepare
authorm-karicheri2@ti.com <m-karicheri2@ti.com>
Thu, 2 Aug 2012 16:53:48 +0000 (16:53 +0000)
committerSekhar Nori <nsekhar@ti.com>
Wed, 24 Oct 2012 11:22:05 +0000 (16:52 +0530)
commitb6f1ffed9d8a830ab94fd3fc6182e2fc8c77cba0
tree3b4e4b12aa6af73d0f5d3c0c0a822acf7de7c823
parent6f0c0580b70c89094b3422ba81118c7b959c7556
ARM: davinci: convert platform code to use clk_prepare/clk_unprepare

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>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-dm355-evm.c
arch/arm/mach-davinci/board-dm355-leopard.c
arch/arm/mach-davinci/board-dm365-evm.c
arch/arm/mach-davinci/board-dm644x-evm.c
arch/arm/mach-davinci/board-neuros-osd2.c
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/serial.c
arch/arm/mach-davinci/time.c