[PATCH v17 10/51] xhci: add helper to stop endpoint and wait for completion