Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1556433
| From | Nicholas Mc Guire <der.herr@hofr.at> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ASoC: rt5651: use msleep for large delays |
| Date | 2017-01-11 13:10 +0100 |
| Message-ID | <sYpT4-6Ny-43@gated-at.bofh.it> (permalink) |
| References | <sYpJn-6v8-9@gated-at.bofh.it> <sYpJn-6v8-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 well. thx! hofrat
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH] ASoC: rt5651: use msleep for large delays Joe Perches <joe@perches.com> - 2017-01-11 13:00 +0100 Re: [PATCH] ASoC: rt5651: use msleep for large delays Nicholas Mc Guire <der.herr@hofr.at> - 2017-01-11 13:10 +0100
csiph-web