linux/drivers/usb/dwc2
Nicholas Mc Guire d3fe81d2cc usb: dwc2: host: use msleep() for long delay
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 2938fc63e0 ("usb: dwc2: Properly account for the force mode delays")
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-01-24 16:19:10 +02:00
..
core_intr.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
core.c usb: dwc2: host: use msleep() for long delay 2017-01-24 16:19:10 +02:00
core.h usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220 2017-01-24 16:19:10 +02:00
debug.h usb: dwc2: Add identifier in prototypes 2017-01-24 11:04:18 +02:00
debugfs.c usb: dwc2: Show dr_mode via debugfs 2017-01-24 16:19:08 +02:00
gadget.c usb: dwc2: Avoid sleeping while holding hsotg->lock 2017-01-24 16:19:08 +02:00
hcd_ddma.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hcd_intr.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hcd_queue.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hcd.c usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220 2017-01-24 16:19:10 +02:00
hcd.h usb: dwc2: Cleanup some checkpatch issues 2017-01-24 11:04:18 +02:00
hw.h usb: dwc2: Cleanup some checkpatch issues 2017-01-24 11:04:18 +02:00
Kconfig USB: dwc2-usb: add USB_GADGET dependency 2016-06-29 11:11:41 +03:00
Makefile usb: dwc2: Add params.c file 2016-11-18 13:54:10 +02:00
params.c usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220 2017-01-24 16:19:10 +02:00
pci.c usb: dwc2: Cleanup some checkpatch issues 2017-01-24 11:04:18 +02:00
platform.c usb: dwc2: Fix brace usage 2017-01-24 11:04:19 +02:00