Re: [PATCH 1/2] ASoC: fsl_sai: Use usleep_range() instead of msleep()

From: Mark Brown
Date: Fri Jan 22 2016 - 11:48:39 EST


On Fri, Jan 15, 2016 at 07:35:24PM +0800, Xiubo Li wrote:
> Since msleep() will sleep longer than intended time for values less
> than 20ms, this patch allows the use of usleep_range for just 1ms.
> usleep_range is a finer precision implementation of msleep and is
> designed to be a drop-in replacement for udelay where a precise
> sleep/busy-wait is unnecessary.

A similar change seems to have already been applied.

Attachment: signature.asc
Description: PGP signature