[PATCH 0/3] usb: gadget: uvc: refactor and cleanup the pump and complete handlers

From: Michael Grzeschik
Date: Tue Feb 13 2024 - 18:28:29 EST


This series is cleaning the complete and pump handler to improve
the code quality. It got really hard to follow the locking and escape
cases since the recently introduced patches.

Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
---
Michael Grzeschik (3):
usb: gadget: uvc: drop unnecessary check for always set req
usb: gadget: uvc: refactor the check for a valid buffer in the pump worker
usb: gadget: uvc: rework complete handler

drivers/usb/gadget/function/uvc_video.c | 109 +++++++++++++++-----------------
1 file changed, 51 insertions(+), 58 deletions(-)
---
base-commit: 88bae831f3810e02c9c951233c7ee662aa13dc2c
change-id: 20240214-uvc-gadget-cleanup-e8484f675c2a

Best regards,
--
Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>