[PATCH v2 1/1] ARM: imx: clk-pllv3: improve the timeout waiting method
shawn.guo at linaro.org
Tue Jul 16 03:04:22 EDT 2013
On Tue, Jul 16, 2013 at 10:23:20AM +0800, Peter Chen wrote:
> 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 at freescale.com>
More information about the linux-arm-kernel