projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7936e0f
)
usb-host: enable pipelineing for bulk endpoints.
author
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 1 Mar 2012 13:42:34 +0000
(14:42 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 7 Mar 2012 11:28:05 +0000
(12:28 +0100)
We really don't want to wait for packets finish before submitting the
next, we want keep the data flow running.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux.c
patch
|
blob
|
history
diff --git
a/usb-linux.c
b/usb-linux.c
index 050ea7a87d5717809f50f9b2f60b81c3aae53770..90919c242aef6e8636157ffdabc4b9c0218a8361 100644
(file)
--- a/
usb-linux.c
+++ b/
usb-linux.c
@@
-1192,6
+1192,9
@@
static int usb_linux_update_endp_table(USBHostDevice *s)
USB_ENDPOINT_XFER_INVALID);
usb_ep_set_type(&s->dev, pid, ep, type);
usb_ep_set_ifnum(&s->dev, pid, ep, interface);
+ if (type == USB_ENDPOINT_XFER_BULK) {
+ usb_ep_set_pipeline(&s->dev, pid, ep, true);
+ }
epd = get_endp(s, pid, ep);
epd->halted = 0;