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:
59a70cc
)
usb-xhci: fix bit test
author
Lai Jiangshan
<laijs@cn.fujitsu.com>
Mon, 2 Apr 2012 06:35:30 +0000
(14:35 +0800)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 26 Apr 2012 10:21:16 +0000
(12:21 +0200)
use & instead of the wrong &&
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
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 fd13bbab279fab55e1457a86091af4fd46c7a918..5cf1a646993f9fb0b93f1067855014ecbdaa30e8 100644
(file)
--- a/
hw/usb/hcd-xhci.c
+++ b/
hw/usb/hcd-xhci.c
@@
-501,7
+501,7
@@
static void xhci_irq_update(XHCIState *xhci)
int level = 0;
if (xhci->iman & IMAN_IP && xhci->iman & IMAN_IE &&
- xhci->usbcmd &
&
USBCMD_INTE) {
+ xhci->usbcmd & USBCMD_INTE) {
level = 1;
}