aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-ohci.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2015-12-20 00:23:51 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-01-08 09:25:50 +0100
commit0922c3f6064ebe4c65fd1190b014a742083b5906 (patch)
tree05fec3c568a698c114ecf3240a31eb973257c62b /hw/usb/hcd-ohci.c
parent7d938fd14b87e1d8db2de5ea1359d6d11e366a56 (diff)
downloadqemu-0922c3f6064ebe4c65fd1190b014a742083b5906.zip
qemu-0922c3f6064ebe4c65fd1190b014a742083b5906.tar.gz
qemu-0922c3f6064ebe4c65fd1190b014a742083b5906.tar.bz2
ohci: fix command HostControllerReset
Specification says that: "This bit is set by HCD to initiate a software reset of HC." Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-id: 1450567431-31795-4-git-send-email-hpoussin@reactos.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ohci.c')
-rw-r--r--hw/usb/hcd-ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c
index 24c62b4..d225ebb 100644
--- a/hw/usb/hcd-ohci.c
+++ b/hw/usb/hcd-ohci.c
@@ -1714,7 +1714,7 @@ static void ohci_mem_write(void *opaque,
ohci->status |= val;
if (ohci->status & OHCI_STATUS_HCR)
- ohci_hard_reset(ohci);
+ ohci_soft_reset(ohci);
break;
case 3: /* HcInterruptStatus */