On Thu, Jan 17, 2019 at 04:24:15PM +0900, Yoshihiro Shimoda wrote: > According to Documentation/timers/timers-howto.txt, a driver should > use usleep_range() instead of udelay() on NON-ATOMIC CONTEXT if > "SLEEPING FOR ~USECS OR SMALL MSECS ( 10us - 20ms)". > > Since the .hardware_init() and .power_ctrl() will run on NON-ATOMIC > CONTEXT, this patch replaces udelay() with usleep_range(). > > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>