linux/drivers/usb
Jozef Martiniak 2b06d5d97c gadgetfs: ep_io - wait until IRQ finishes
[ Upstream commit 04cb742d4d ]

after usb_ep_queue() if wait_for_completion_interruptible() is
interrupted we need to wait until IRQ gets finished.

Otherwise complete() from epio_complete() can corrupt stack.

Signed-off-by: Jozef Martiniak <jomajm@gmail.com>
Link: https://lore.kernel.org/r/20220708070645.6130-1-jomajm@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2022-08-25 11:45:43 +02:00
..
atm usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
c67x00 USB: c67x00: remove unnecessary check of res 2022-05-12 11:36:46 +02:00
cdns3 usb: cdns3 fix use-after-free at workaround 2 2022-08-25 11:45:40 +02:00
chipidea usb: chipidea: udc: check request status before setting device address 2022-06-24 13:45:23 +02:00
class tty: remove CMSPAR ifdefs 2022-05-19 18:26:16 +02:00
common usb: common: usb-conn-gpio: Make VBUS supply completely optional 2022-03-15 18:22:15 +01:00
core usb: xhci_plat_remove: avoid NULL dereference 2022-08-17 15:15:38 +02:00
dwc2 usb: dwc2: gadget: remove D+ pull-up while no vbus with usb-role-switch 2022-08-25 11:45:42 +02:00
dwc3 usb: dwc3: qcom: fix missing optional irq warnings 2022-08-17 15:15:33 +02:00
early usb: early: xhci-dbc: Fix xdbc number parsing 2022-03-15 18:20:34 +01:00
gadget gadgetfs: ep_io - wait until IRQ finishes 2022-08-25 11:45:43 +02:00
host usb: host: ohci-ppc-of: Fix refcount leak bug 2022-08-25 11:45:42 +02:00
image scsi: Remove drivers/scsi/scsi.h 2022-02-22 21:11:02 -05:00
isp1760 usb: isp1760: Fix out-of-bounds array access 2022-05-19 18:10:59 +02:00
misc Revert "usb: misc: Add onboard_usb_hub driver" 2022-05-03 16:48:13 +02:00
mon USB: mon: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 09:49:28 +01:00
mtu3 usb: mtu3: fix USB 3.0 dual-role-switch from device to host 2022-04-21 19:06:41 +02:00
musb usb: musb: mediatek: Use clk_bulk API to simplify clock operations 2022-04-21 19:23:46 +02:00
phy Char / Misc / Other smaller driver subsystem updates for 5.19-rc1 2022-06-03 11:36:34 -07:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-08-25 11:45:42 +02:00
roles usb: roles: add helper usb_role_string() 2021-05-27 09:17:18 +02:00
serial USB: serial: fix tty-port initialized comments 2022-08-17 15:15:38 +02:00
storage usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
typec usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion 2022-08-17 15:13:57 +02:00
usbip usbip: vudc: Don't enable IRQs prematurely 2022-08-17 15:15:05 +02:00
Kconfig usb: remove reference to deleted config STB03xxx 2021-08-18 15:32:19 +02:00
Makefile usb: host: remove line for obsolete config USB_HWA_HCD 2021-08-18 15:32:19 +02:00
usb-skeleton.c usb: usb-skeleton: Update min() to min_t() 2021-10-05 12:56:48 +02:00