summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp_tlb.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-10-30 08:56:22 +0100
committerShawn Guo <shawn.guo@linaro.org>2013-11-11 15:58:44 +0100
commitbc3b84da8a55752d8c54005e558d59ac10fe9953 (patch)
tree91e182675d887892cbb65242d33434bf207a67fb /arch/arm/kernel/smp_tlb.c
parentARM: imx: add sleep for pllv3 relock (diff)
downloadlinux-bc3b84da8a55752d8c54005e558d59ac10fe9953.tar.xz
linux-bc3b84da8a55752d8c54005e558d59ac10fe9953.zip
ARM: imx: pllv3 needs relock in .set_rate() call
The pllv3 nees relock not only when powering up but also when rate changes. The patch creates a helper function clk_pllv3_wait_lock() and moves the relock code from clk_pllv3_prepare() into there, so that both .prepare() and .set_rate() hooks of pllv3 can call into the helper for relocking. Since relock is only needed when PLL is powered up while clk_set_rate() could be called before clk is prepared, we need to add a check in clk_pllv3_wait_lock() to skip the relock if PLL is not powered. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/kernel/smp_tlb.c')
0 files changed, 0 insertions, 0 deletions