Re: [PATCH 01/48] clk: at91: replace usleep() by udelay() calls

From: Arnd Bergmann
Date: Fri Jun 10 2016 - 18:32:24 EST


On Saturday, June 11, 2016 12:03:04 AM CEST Alexandre Belloni wrote:
> From: Cyrille Pitchen <cyrille.pitchen@xxxxxxxxx>
>
> Fix the main and slow clock .prepare() implementations which used to call
> usleep() when the scheduler wasn't ready yet.
>

Does this have to be called that early? It seems wasteful to always
call udelay() here, when these are functions that are normally
allowed to sleep.

Arnd