diff options
| author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2021-01-29 15:00:22 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-29 14:16:50 +0100 |
| commit | b1adc42d440df3233255e313a45ab7e9b2b74096 (patch) | |
| tree | 910a9086f8dd43621f9d402f082e364dbd0f0b74 /tools/perf/scripts/python | |
| parent | xhci: remove unused event parameter from completion handlers (diff) | |
| download | linux-b1adc42d440df3233255e313a45ab7e9b2b74096.tar.gz linux-b1adc42d440df3233255e313a45ab7e9b2b74096.zip | |
xhci: add xhci_get_virt_ep() helper
In several event handlers we need to find the right endpoint
structure from slot_id and ep_index in the event.
Add a helper for this, check that slot_id and ep_index are valid.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20210129130044.206855-6-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
