aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-12-20 03:12:34 -0500
committerShawn Guo <shawn.guo@linaro.org>2011-12-28 08:35:08 -0500
commit6abda3e129bfe4d74b5c274da7dff0e2b1488818 (patch)
treef9fd67a5c38101d9d1af3e2d858fadd4d19527cc /arch/arm/Kconfig
parent5c77f5608a5081632b9530e5f3260f8b63247bd8 (diff)
ARM: mxs: select HAVE_CLK_PREPARE for clock
This patch adds clk_prepare/clk_unprepare for mxs clock api by renaming the existing non-atomic clk_enable/clk_disable to clk_prepare/clk_unprepare and adding a pair of dummy clk_enable/clk_disable. Then with selecting HAVE_CLK_PREPARE for mxs clock, we can fix the mutex locking warning that has been reported for a few times. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 776d76b8cb69..dc461637e778 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -442,6 +442,7 @@ config ARCH_MXS
442 select ARCH_REQUIRE_GPIOLIB 442 select ARCH_REQUIRE_GPIOLIB
443 select CLKDEV_LOOKUP 443 select CLKDEV_LOOKUP
444 select CLKSRC_MMIO 444 select CLKSRC_MMIO
445 select HAVE_CLK_PREPARE
445 help 446 help
446 Support for Freescale MXS-based family of processors 447 Support for Freescale MXS-based family of processors
447 448