summaryrefslogtreecommitdiffstats
path: root/drivers/usb/wusbcore/wa-hc.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2014-03-07 15:37:35 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-08 22:30:28 -0800
commit335053fe8c94f50c7f1cd7011b3088547480df3c (patch)
treed4d2cbad17637a4b8bdf9a70bdf19a4745529488 /drivers/usb/wusbcore/wa-hc.c
parent04a378f36d9dc9e242ff206fcad23ba258dba818 (diff)
downloadop-kernel-dev-335053fe8c94f50c7f1cd7011b3088547480df3c.zip
op-kernel-dev-335053fe8c94f50c7f1cd7011b3088547480df3c.tar.gz
usb: wusbcore: use multiple urbs for HWA iso transfer result frame reads
Submit multiple concurrent urbs for HWA isochronous transfer result data frame reads. This keeps the read pipeline full and significantly improves performance in cases where the frame reads cannot be combined because they are not contiguous or multiples of the max packet size. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/wusbcore/wa-hc.c')
-rw-r--r--drivers/usb/wusbcore/wa-hc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/wusbcore/wa-hc.c b/drivers/usb/wusbcore/wa-hc.c
index 368360f..252c7bd 100644
--- a/drivers/usb/wusbcore/wa-hc.c
+++ b/drivers/usb/wusbcore/wa-hc.c
@@ -75,8 +75,6 @@ void __wa_destroy(struct wahc *wa)
if (wa->dti_urb) {
usb_kill_urb(wa->dti_urb);
usb_put_urb(wa->dti_urb);
- usb_kill_urb(wa->buf_in_urb);
- usb_put_urb(wa->buf_in_urb);
}
kfree(wa->dti_buf);
wa_nep_destroy(wa);
OpenPOWER on IntegriCloud