diff options
author | Jozef Martiniak <jomajm@gmail.com> | 2022-07-08 09:06:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-08 14:50:43 +0200 |
commit | 04cb742d4d8f30dc2e83b46ac317eec09191c68e (patch) | |
tree | cd1189d178ab5bff8b44eea58b85f70282eb7ef2 /drivers/usb/gadget/config.c | |
parent | dt-bindings: usb: mtk-xhci: add compatible for mt8188 (diff) | |
download | linux-04cb742d4d8f30dc2e83b46ac317eec09191c68e.tar.xz linux-04cb742d4d8f30dc2e83b46ac317eec09191c68e.zip |
gadgetfs: ep_io - wait until IRQ finishes
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>
Diffstat (limited to 'drivers/usb/gadget/config.c')
0 files changed, 0 insertions, 0 deletions