projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d7a81c
)
xhci: reset port when disabling slot
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 28 Aug 2013 09:47:09 +0000
(11:47 +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 2e2eb55d067281f8f4b98ee1c543183eaae4defa..10c938a88bfe30817d6454574c10914c7211e0ba 100644
(file)
--- a/
hw/usb/hcd-xhci.c
+++ b/
hw/usb/hcd-xhci.c
@@
-2123,6
+2123,7
@@
static TRBCCode xhci_disable_slot(XHCIState *xhci, unsigned int slotid)
xhci->slots[slotid-1].enabled = 0;
xhci->slots[slotid-1].addressed = 0;
+ xhci->slots[slotid-1].uport = NULL;
return CC_SUCCESS;
}