From: Hervé Poussineau Date: Sat, 19 Dec 2015 23:23:51 +0000 (+0100) Subject: ohci: fix command HostControllerReset X-Git-Tag: v2.6.0-rc0~238^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0922c3f6064ebe4c65fd1190b014a742083b5906;p=thirdparty%2Fqemu.git 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 Tested-by: Mark Cave-Ayland Message-id: 1450567431-31795-4-git-send-email-hpoussin@reactos.org Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index 24c62b42586..d225ebbbe3b 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 */