From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tuixc-0001zI-JC for qemu-devel@nongnu.org; Mon, 14 Jan 2013 07:16:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuixV-0002Bh-V7 for qemu-devel@nongnu.org; Mon, 14 Jan 2013 07:16:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuixV-0002BY-Ny for qemu-devel@nongnu.org; Mon, 14 Jan 2013 07:16:09 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0ECG8I4018570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 14 Jan 2013 07:16:09 -0500 From: Gerd Hoffmann Date: Mon, 14 Jan 2013 12:50:15 +0100 Message-Id: <1358164219-14070-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1358164219-14070-1-git-send-email-kraxel@redhat.com> References: <1358164219-14070-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/6] xhci: call xhci_detach_slot on root port detach too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-xhci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 3ff8bc1..5b2e7f8 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -2957,6 +2957,7 @@ static void xhci_detach(USBPort *usbport) XHCIState *xhci = usbport->opaque; XHCIPort *port = xhci_lookup_port(xhci, usbport); + xhci_detach_slot(xhci, usbport); xhci_port_update(port, 1); } -- 1.7.9.7