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:
1a24e86
)
xhci: reset port when disabling slot
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 28 Aug 2013 09:47:09 +0000
(11:47 +0200)
committer
SeokYeon Hwang
<syeon.hwang@samsung.com>
Tue, 29 Oct 2013 02:17:44 +0000
(11:17 +0900)
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit
5c67dd7b4884979a2613a4702ac1ab68b0e6a16e
)
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 3c0ba8e294656b28a4c5f013164781a4e5557d39..a6f55a1bd4df2c0f5cde4197d71d0a7f6d43ff46 100644
(file)
--- a/
hw/usb/hcd-xhci.c
+++ b/
hw/usb/hcd-xhci.c
@@
-2076,6
+2076,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;
}