[xhci] Ring doorbell as part of endpoint reset
authorMichael Brown <mcb30@ipxe.org>
Mon, 23 Mar 2015 14:22:23 +0000 (14:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 23 Mar 2015 15:21:35 +0000 (15:21 +0000)
commit661189eedef6d895a0b3b2c793cbdfba731bdc7d
tree74996d0b828735ab9fb3a263fa15fefbd5bdfd47
parenta3c00d8d3bd7ae6722b794b980574a4df0afbd5b
[xhci] Ring doorbell as part of endpoint reset

The endpoint may already have enqueued TRBs at the time that
xhci_endpoint_reset() is called.  Ring the doorbell to resume
processing these TRBs immediately, rather than waiting until the next
call to xhci_endpoint_message() or xhci_endpoint_stream().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/usb/xhci.c