xhci: add xhci_port_reset
commit40030130d167f2bf762155a1a7e0073de5545e8b
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 26 Oct 2012 08:22:37 +0000 (26 10:22 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Nov 2012 12:10:09 +0000 (1 13:10 +0100)
treef9549d87a77cc591ce48ccc6fdc24b6696273dc3
parentf705a362800733c363f0458f75942f8dc61b7abb
xhci: add xhci_port_reset

Move port reset logic to its own function.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c