]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mxs: select HAVE_CLK_PREPARE for clock
authorShawn Guo <shawn.guo@linaro.org>
Tue, 20 Dec 2011 08:12:34 +0000 (16:12 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 28 Dec 2011 13:35:08 +0000 (21:35 +0800)
commit64b81badf1db3e9b2f729b8a555f9362623511e7
treef9fd67a5c38101d9d1af3e2d858fadd4d19527cc
parent3796ae623da303c57ac883df47a3ad10e2ed84a6
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>
arch/arm/Kconfig
arch/arm/mach-mxs/clock.c