This series is improving the stability of the usb uvc gadget driver. On the unconditional event of a crash or intentional stop while using the uvc v4l2 userspace device and streaming to the host, the setup was sometimes running into use after free cases. We fix that. Michael Grzeschik (3): usb: gadget: uvc: stop pump thread on video disable usb: gadget: uvc: cleanup request when not in correct state usb: gadget: uvc: rework pump worker to avoid while loop drivers/usb/gadget/function/uvc_video.c | 32 ++++++++++++++++++++----- 1 file changed, 26 insertions(+), 6 deletions(-) -- 2.39.2