commit | 04a9db799253e0993ebb46b4096f7514c62193f7 | [log] [tgz] |
---|---|---|
author | Nicholas Mc Guire <hofrat@osadl.org> | Thu Jan 12 16:54:03 2017 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Jan 24 11:04:10 2017 +0200 |
tree | ff12afcdf11373a3f5a5876c0eb76d823da66246 | |
parent | 0e4018ff5d12866a134dbdd0204d1b2629f71e31 [diff] |
usb: dwc2: host: use msleep() for long delays 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. Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>