ARM: imx: add sleep for pllv3 relock
authorShawn Guo <shawn.guo@linaro.org>
Wed, 30 Oct 2013 07:12:55 +0000 (15:12 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 11 Nov 2013 14:58:44 +0000 (22:58 +0800)
commit322503a15740bd9383bb4ed452e5dd5a40598170
tree0c005aea931efcd522b9ec215516d8ef0a2e740a
parentec9de6cd95a1ee326269699777301d5e1d5ddb75
ARM: imx: add sleep for pllv3 relock

The pllv3 relock time varies in the range of 50us ~ 500us, depending on
the specific PLL type, e.g. 50us for ARM PLL and 450us for Audio/Video
PLL.  Let's add a usleep_range() call instead of doing busy wait during
relock.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-pllv3.c