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

Mark Brown broonie at kernel.org
Fri Jan 22 17:48:23 CET 2016


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160122/d8ef3f15/attachment.sig>


More information about the Alsa-devel mailing list