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

Arnd Bergmann arnd at arndb.de
Fri Jun 10 15:30:36 PDT 2016


On Saturday, June 11, 2016 12:03:04 AM CEST Alexandre Belloni wrote:
> From: Cyrille Pitchen <cyrille.pitchen at atmel.com>
> 
> 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




More information about the linux-arm-kernel mailing list