[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/7] ohci: fix Host Controller USBRESET
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 2/7] ohci: fix Host Controller USBRESET |
Date: |
Fri, 8 Jan 2016 11:40:10 +0100 |
From: Hervé Poussineau <address@hidden>
Specification says that, when entering this state, "the contents of the
registers
(except Root Hub registers) are preserved by the HC. [...] The Root Hub is
being reset,
which causes the Root Hub's downstream ports to be reset and possibly powered
off."
Signed-off-by: Hervé Poussineau <address@hidden>
Tested-by: Mark Cave-Ayland <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/usb/hcd-ohci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c
index 0661804..24c62b4 100644
--- a/hw/usb/hcd-ohci.c
+++ b/hw/usb/hcd-ohci.c
@@ -1451,7 +1451,7 @@ static void ohci_set_ctl(OHCIState *ohci, uint32_t val)
trace_usb_ohci_resume(ohci->name);
break;
case OHCI_USB_RESET:
- ohci_hard_reset(ohci);
+ ohci_roothub_reset(ohci);
break;
}
}
--
1.8.3.1
- [Qemu-devel] [PULL 0/7] usb patch queue, Gerd Hoffmann, 2016/01/08
- [Qemu-devel] [PULL 2/7] ohci: fix Host Controller USBRESET,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 6/7] ohci: delay first SOF interrupt, Gerd Hoffmann, 2016/01/08
- [Qemu-devel] [PULL 5/7] usb-mtp: fix call to trace function, Gerd Hoffmann, 2016/01/08
- [Qemu-devel] [PULL 7/7] ohci: clear pending SOF on suspend, Gerd Hoffmann, 2016/01/08
- [Qemu-devel] [PULL 3/7] ohci: fix command HostControllerReset, Gerd Hoffmann, 2016/01/08
- [Qemu-devel] [PULL 1/7] ohci: split reset method in 3 parts, Gerd Hoffmann, 2016/01/08
- [Qemu-devel] [PULL 4/7] usb-mtp: use safe variant when cleaning events list, Gerd Hoffmann, 2016/01/08
- Re: [Qemu-devel] [PULL 0/7] usb patch queue, Peter Maydell, 2016/01/08