projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d81ed
)
xhci: fix endpoint interval calculation
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 28 Aug 2013 09:39:02 +0000
(11:39 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 2 Sep 2013 09:06:19 +0000
(11:06 +0200)
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-xhci.c
b/hw/usb/hcd-xhci.c
index 4d693bcf2ff8e68f10ad2f0f9414e54aff8df7e9..38269793b3a004c43d118b76e0e1197ae00ff31c 100644
(file)
--- a/
hw/usb/hcd-xhci.c
+++ b/
hw/usb/hcd-xhci.c
@@
-1274,7
+1274,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,