linux/drivers/usb
Mathias Nyman 587f86b7a2 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>
2021-07-28 13:31:02 +02:00
..
atm
c67x00
cdns3 usb: cdns3: Enable TDL_CHK only for OUT ep 2021-07-25 14:35:13 +02:00
chipidea usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data() 2021-01-12 20:16:18 +01:00
class USB: cdc-acm: blacklist Heimann USB Appset device 2021-07-14 16:53:00 +02:00
common
core usb: hub: Fix link power management max exit latency (MEL) calculations 2021-07-28 13:30:59 +02:00
dwc2 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. 2021-07-28 13:31:00 +02:00
dwc3 usb: dwc3: Fix debugfs creation flow 2021-07-14 16:53:01 +02:00
early
gadget usb: gadget: hid: fix error return code in hid_bind() 2021-07-20 16:10:45 +02:00
host xhci: add xhci_get_virt_ep() helper 2021-07-28 13:31:02 +02:00
image
isp1760
misc USB: trancevibrator: fix control-request direction 2021-06-03 08:59:04 +02:00
mon
mtu3 usb: mtu3: fix memory corruption in mtu3_debugfs_regset() 2020-12-30 11:50:58 +01:00
musb usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling 2021-06-16 11:59:41 +02:00
phy
renesas_usbhs usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 2021-07-28 13:31:00 +02:00
roles
serial USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick 2021-07-28 13:31:00 +02:00
storage USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS 2021-07-28 13:30:59 +02:00
typec usb: typec: Add the missed altmode_id_remove() in typec_register_altmode() 2021-07-14 16:53:01 +02:00
usbip usbip: vudc: fix missing unlock on error in usbip_sockfd_store() 2021-05-14 09:44:22 +02:00
Kconfig
Makefile
usb-skeleton.c