Re: [PATCH RFC] usb: dwc2: host: use msleep() for long delay

2017-01-12 Thread John Youn
On 1/12/2017 7:15 AM, Nicholas Mc Guire wrote: > ulseep_range() uses hrtimers and provides no advantage over msleep() > for larger delays. Fix up the 100ms delays here passing the adjusted "min" > value to msleep(). This helps reduce the load on the hrtimer subsystem. > > Link: > https://urldefen

[PATCH RFC] usb: dwc2: host: use msleep() for long delay

2017-01-12 Thread Nicholas Mc Guire
ulseep_range() uses hrtimers and provides no advantage over msleep() for larger delays. Fix up the 100ms delays here passing the adjusted "min" value to msleep(). This helps reduce the load on the hrtimer subsystem. Link: http://lkml.org/lkml/2017/1/11/377 Fixes: commit 2938fc63e0c2 ("usb: dwc2: P