xhci: Decouple handling an event from checking for unhandled events.

Some sequences, will require traversing through the entire event ring
without handling the event TRB.  This is ideal for when secondary
interrupters that are utilized by external entities need to clean up the
interrupter's event rings during halting of the XHCI HCD.

The old xhci_handle_event() is renamed to xhci_handle_event_trb().
It now returns 0 on success or negative error code on failure.

Suggested-by: Wesley Cheng <quic_wcheng@quicinc.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
1 file changed