dwc_otg: only do_split when we actually need to do a split
authorP33M <p33m@github.com>
Mon, 8 Apr 2019 11:45:23 +0000 (12:45 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:27 +0000 (00:08 +0100)
commit9ff817185106d566751633e72e8df49b38d53939
treeae239ca3b1c9e2b6b0671dbc4f8f6e6ead5a2b69
parent56c0ecca543dc8250f14452d7cdaba52e52a3f83
dwc_otg: only do_split when we actually need to do a split

The previous test would fail if the root port was in fullspeed mode
and there was a hub between the FS device and the root port. While
the transfer worked, the schedule mangling performed for high-speed
split transfers would break leading to an 8ms polling interval.
drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c