Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5dfdaa15 authored by Hemant Kumar's avatar Hemant Kumar Committed by Connor O'Brien
Browse files

ANDROID: GKI: usb: xhci: Add support for secondary interrupters



Implement APIs to dynamically allocate and free secondary
event rings based upon interrupter number. Also add exported
APIs in usb core layer which allows secondary event ring
management via remote processor entity.

Change-Id: I5ee7d44d6cad8e35e22d3c1a027a1eec5d208585
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
(cherry picked from commit 8d48fb820fb849cee2474354f75ef5a78044bd19)
[connoro: squashed the following commits:
          a44f0d73af95 usb: xhci: Clear event handler busy flag upon
          event ring cleanup
          a1504b40da0e usb: xhci: Acknowledge pending events in
          secondary event ring
          a7e7dd8a3499 usb: host: xhci: Fix bound check for
          interrupter number
          c4d9817a3cc6 usb: core: Allow secondary event ring clean
          upon disconnect
          576c1e1fe65b usb: host: xhci: Fix secondary event ring
          setup]
Bug: 151258428
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
parent a6c834c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment