commit | 6abda3e129bfe4d74b5c274da7dff0e2b1488818 | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Tue Dec 20 16:12:34 2011 +0800 |
committer | Shawn Guo <shawn.guo@linaro.org> | Wed Dec 28 21:35:08 2011 +0800 |
tree | f9fd67a5c38101d9d1af3e2d858fadd4d19527cc | |
parent | 5c77f5608a5081632b9530e5f3260f8b63247bd8 [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>