projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8f8e9
)
xhci: fix endpoint interval calculation
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 28 Aug 2013 09:39:02 +0000
(11:39 +0200)
committer
SeokYeon Hwang
<syeon.hwang@samsung.com>
Tue, 29 Oct 2013 02:17:43 +0000
(11:17 +0900)
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit
ca7162782a293f525633e5816470498dd86a51cf
)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/hcd-xhci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-xhci.c
b/hw/usb/hcd-xhci.c
index 58c88b8a6bb8186e361f2d4a9a7558d7ee3b6e5d..3c0ba8e294656b28a4c5f013164781a4e5557d39 100644
(file)
--- a/
hw/usb/hcd-xhci.c
+++ b/
hw/usb/hcd-xhci.c
@@
-1257,7
+1257,7
@@
static void xhci_init_epctx(XHCIEPContext *epctx,
epctx->ring.ccs = ctx[2] & 1;
}
- epctx->interval = 1 << (
ctx[0] >> 16) & 0xff
;
+ epctx->interval = 1 << (
(ctx[0] >> 16) & 0xff)
;
}
static TRBCCode xhci_enable_ep(XHCIState *xhci, unsigned int slotid,