lkml.org 
[lkml]   [2017]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: rt5651: use msleep for large delays
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-01-11 16:01    [W:0.047 / U:2.816 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site