[lkml]   [2017]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ASoC: rt5651: use msleep for large delays
On Wed, Jan 11, 2017 at 03:55:49AM -0800, Joe Perches wrote:
> On Wed, 2017-01-11 at 12:49 +0100, Nicholas Mc Guire wrote:
> > ulseep_range() uses hrtimers and provides no advantage over msleep()
> > for larger delays. Fix up the 75/85ms delays here to use msleep() and
> > reduce the load on the hrtimer subsystem.
> If this is useful, why not convert all the large value
> usleep_range uses in sound/soc/ ?
thats what Im currently doing - just that it cant be done fully
automatic as it may be justified in some cases - so it needs a
case-by-case review.

And its not only in sound/soc/ its quite a bit in drivers/ as


 \ /
  Last update: 2017-01-11 13:02    [W:0.067 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site