diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2015-12-20 00:23:51 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-01-08 09:25:50 +0100 |
commit | 0922c3f6064ebe4c65fd1190b014a742083b5906 (patch) | |
tree | 05fec3c568a698c114ecf3240a31eb973257c62b | |
parent | 7d938fd14b87e1d8db2de5ea1359d6d11e366a56 (diff) |
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>
-rw-r--r-- | hw/usb/hcd-ohci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index 24c62b4258..d225ebbbe3 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 */ |