aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorDouglas Anderson <[email protected]>2016-01-28 18:20:00 -0800
committerFelipe Balbi <[email protected]>2016-03-04 15:14:41 +0200
commit8add17cf8e4c55c8c4342ed42c8cdc1649ce0ab8 (patch)
tree88e3d479f2161dd24a6130baa1e7b5d7e9f43dfa /lib/mpi/mpi-bit.c
parent17dd5b642d836ff7e12a780c2ec71a4be9bf9546 (diff)
usb: dwc2: host: Giveback URB in tasklet context
In commit 94dfd7edfd5c ("USB: HCD: support giveback of URB in tasklet context") support was added to give back the URB in tasklet context. Let's take advantage of this in dwc2. This speeds up the dwc2 interrupt handler considerably. Note that this requires the change ("usb: dwc2: host: Add a delay before releasing periodic bandwidth") to come first. Note that, as per Alan Stern in <https://patchwork.kernel.org/patch/7555771/>, we also need to make sure that the extra delay before the device drivers submit more data doesn't break the scheduler. At the moment the scheduler is pretty broken (see future patches) so it's hard to be 100% certain, but I have yet to see any new breakage introduced by this delay. ...and speeding up interrupt processing for dwc2 is a huge deal because it means we've got a better chance of not missing SOF interrupts. That means we've got an overall win here. Note that when playing USB audio and using a USB webcam and having several USB keyboards plugged in, the crackling on the USB audio device is noticably reduced with this patch. Acked-by: John Youn <[email protected]> Signed-off-by: Douglas Anderson <[email protected]> Tested-by: Heiko Stuebner <[email protected]> Tested-by: Stefan Wahren <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions