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

2017-01-16 Thread Felipe Balbi
Hi, John Youn writes: > On 1/12/2017 7:52 AM, Nicholas Mc Guire wrote: >> ulseep_range() uses hrtimers and provides no advantage over msleep() >> for larger delays. Fix up the 20+ ms delays here passing the adjusted "min" >> value to msleep(). This helps reduce the load

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

2017-01-16 Thread Felipe Balbi
Hi, John Youn writes: > On 1/12/2017 7:52 AM, Nicholas Mc Guire wrote: >> ulseep_range() uses hrtimers and provides no advantage over msleep() >> for larger delays. Fix up the 20+ ms delays here passing the adjusted "min" >> value to msleep(). This helps reduce the load on the hrtimer

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

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

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

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

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

2017-01-12 Thread Nicholas Mc Guire
ulseep_range() uses hrtimers and provides no advantage over msleep() for larger delays. Fix up the 20+ ms delays here passing the adjusted "min" value to msleep(). This helps reduce the load on the hrtimer subsystem. Signed-off-by: Nicholas Mc Guire --- Patch was compile

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

2017-01-12 Thread Nicholas Mc Guire
ulseep_range() uses hrtimers and provides no advantage over msleep() for larger delays. Fix up the 20+ ms delays here passing the adjusted "min" value to msleep(). This helps reduce the load on the hrtimer subsystem. Signed-off-by: Nicholas Mc Guire --- Patch was compile tested with: