diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-12-20 09:12:34 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2011-12-28 14:35:08 +0100 |
commit | 6abda3e129bfe4d74b5c274da7dff0e2b1488818 (patch) | |
tree | f9fd67a5c38101d9d1af3e2d858fadd4d19527cc /arch/arm/Kconfig | |
parent | clk: add config option HAVE_CLK_PREPARE into Kconfig (diff) | |
download | linux-6abda3e129bfe4d74b5c274da7dff0e2b1488818.tar.xz linux-6abda3e129bfe4d74b5c274da7dff0e2b1488818.zip |
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/Kconfig | 1 |
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 select ARCH_REQUIRE_GPIOLIB select CLKDEV_LOOKUP select CLKSRC_MMIO + select HAVE_CLK_PREPARE help Support for Freescale MXS-based family of processors |