usb-ehci: Clear the portstatus powner bit on device disconnect
commitf76e1d814241794467366d70d3d77849a6fd5ab0
authorHans de Goede <hdegoede@redhat.com>
Fri, 13 Jan 2012 13:28:56 +0000 (13 14:28 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Feb 2012 10:12:04 +0000 (10 11:12 +0100)
treedf9ae09697350126d7c603f0515d050f906eae24
parent3200d1085df5f368885428e33d9439f55c7f1a47
usb-ehci: Clear the portstatus powner bit on device disconnect

According to the EHCI spec port ownership should revert to the EHCI controller
on device disconnect. This fixes the problem of a port getting stuck on USB 1
when using redirection and plugging in a USB 2 device after a USB 1 device
has been redirected.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ehci.c