From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHUT1-0004Hn-IE for qemu-devel@nongnu.org; Fri, 08 Jan 2016 05:40:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHUSz-0000uI-Oa for qemu-devel@nongnu.org; Fri, 08 Jan 2016 05:40:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHUSz-0000s8-JA for qemu-devel@nongnu.org; Fri, 08 Jan 2016 05:40:21 -0500 From: Gerd Hoffmann Date: Fri, 8 Jan 2016 11:40:11 +0100 Message-Id: <1452249615-8222-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1452249615-8222-1-git-send-email-kraxel@redhat.com> References: <1452249615-8222-1-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 3/7] ohci: fix command HostControllerReset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Gerd Hoffmann From: Herv=C3=A9 Poussineau Specification says that: "This bit is set by HCD to initiate a software r= eset of HC." Signed-off-by: Herv=C3=A9 Poussineau Tested-by: Mark Cave-Ayland Message-id: 1450567431-31795-4-git-send-email-hpoussin@reactos.org Signed-off-by: Gerd Hoffmann --- 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 1.8.3.1