]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
xhci: Verify the device is still present in xhci_cmd_submit()
authorKevin O'Connor <kevin@koconnor.net>
Tue, 3 Oct 2017 15:29:12 +0000 (11:29 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 10 Oct 2017 00:54:13 +0000 (20:54 -0400)
commit5c1a2c75951c4a59f1bf2d3c82ca7447244513ad
tree037ca9d23f7b8c8880e2a9c5da5ee4295612048c
parentf703604b30958312e64a5b7fc74c606a2ececc15
xhci: Verify the device is still present in xhci_cmd_submit()

Make sure the USB device is still present before altering the xhci
"slot" for it.  It appears some controllers will hang if a request is
sent to a port no longer connected.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/usb-xhci.c