Re: [PATCH RFC] clk: wm831x: fix usleep_range with bad range
From: Charles Keepax
Date: Tue Dec 13 2016 - 04:16:02 EST
On Mon, Dec 12, 2016 at 08:40:09AM +0100, Nicholas Mc Guire wrote:
> The delay here is not in atomic context and does not seem critical with
> respect to precision, but usleep_range(min,max) with min==max results in
> giving the timer subsystem no room to optimize uncritical delays. Fix
> this by setting the range to 2000,3000 us.
>
> Fixes: commit f05259a6ffa4 ("clk: wm831x: Add initial WM831x clock driver")
> Signed-off-by: Nicholas Mc Guire <hofrat@xxxxxxxxx>
> ---
Yeah looks fine waiting longer for the FLL to lock won't cause
any issues.
Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Thanks,
Charles