From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAQsP-000066-ER for qemu-devel@nongnu.org; Sat, 19 Dec 2015 18:25:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAQsO-0006zj-1W for qemu-devel@nongnu.org; Sat, 19 Dec 2015 18:25:25 -0500 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sun, 20 Dec 2015 00:23:51 +0100 Message-Id: <1450567431-31795-4-git-send-email-hpoussin@reactos.org> In-Reply-To: <1450567431-31795-1-git-send-email-hpoussin@reactos.org> References: <1450567431-31795-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 3/3] ohci: fix command HostControllerReset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Gerd Hoffmann , =?UTF-8?q?Herv=C3=A9=20Poussineau?= Specification says that: "This bit is set by HCD to initiate a software r= eset of HC." Signed-off-by: Herv=C3=A9 Poussineau --- 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 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 |=3D val; =20 if (ohci->status & OHCI_STATUS_HCR) - ohci_hard_reset(ohci); + ohci_soft_reset(ohci); break; =20 case 3: /* HcInterruptStatus */ --=20 2.1.4