summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/clk-imx6q.c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2013-07-16 02:23:20 (GMT)
committerShawn Guo <shawn.guo@linaro.org>2013-08-16 05:11:25 (GMT)
commit0a036388529477bcce01226a8ba901ef16333393 (patch)
treeb08aad976a9fb403d7a6a8dece1fb54781d4456b /arch/arm/mach-imx/clk-imx6q.c
parentdfd871442e37d8563d2fe16fe65e6507fd3071fa (diff)
downloadlinux-fsl-qoriq-0a036388529477bcce01226a8ba901ef16333393.tar.xz
ARM: imx: clk-pllv3: improve the timeout waiting method
There are two improvements for this commit: - Add comparing pll lock condition after while loop. It can fix potential fake timeout problem caused by the code is just scheduled out before compare the timeout, and the time of scheduling out are more than one jiffies. - Move timeout assignment more close to compare the timeout. It can reduce the possibility the code is scheduled out, and the timeout can be more precise. Signed-off-by: Peter Chen <peter.chen@freescale.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx6q.c')
0 files changed, 0 insertions, 0 deletions