From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsZ2s-0007Dr-Vx for qemu-devel@nongnu.org; Tue, 08 Jan 2013 08:16:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsZ2n-00039g-Hy for qemu-devel@nongnu.org; Tue, 08 Jan 2013 08:16:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsZ2n-00039H-BP for qemu-devel@nongnu.org; Tue, 08 Jan 2013 08:16:41 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r08DGejS025852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Jan 2013 08:16:40 -0500 From: Gerd Hoffmann Date: Tue, 8 Jan 2013 14:16:38 +0100 Message-Id: <1357650999-17219-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1357650999-17219-1-git-send-email-kraxel@redhat.com> References: <1357650999-17219-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/3] 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 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 5d4d876..b4736f5 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.1