diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2021-01-29 16:00:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-28 12:12:20 +0300 |
commit | 6acd1a6ec697b99aea98637c290e25d90e135eb4 (patch) | |
tree | e6bc346e315d7a39c3c2050d7a927ac3ec08dd7b /virt | |
parent | 10a089bae827ec30ad9b6cb7048020a62fae0cfa (diff) | |
download | linux-6acd1a6ec697b99aea98637c290e25d90e135eb4.tar.xz |
xhci: add xhci_get_virt_ep() helper
[commit b1adc42d440df3233255e313a45ab7e9b2b74096 upstream]
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.
Cc: stable@vger.kernel.org
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>
Signed-off-by: Carsten Schmid <carsten_schmid@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions