[alsa-devel] [PATCH] ASoC: rt5651: use msleep for large delays
Mark Brown
broonie at kernel.org
Wed Jan 11 15:59:26 CET 2017
On Wed, Jan 11, 2017 at 12:49:36PM +0100, Nicholas Mc Guire wrote:
> if (!rt5651->hp_mute)
> - usleep_range(80000, 85000);
> + msleep(85);
If you're doing conversions like this I'd expect us to be picking the
lower number rather than the higher number - people are saying "wait for
at least X and at most Y" and msleep() is "wait for at least X" so we
should be picking X.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170111/d6f7a92f/attachment.sig>
More information about the Alsa-devel
mailing list