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

Message ID 20240214-uvc-gadget-cleanup-v1-0-de6d78780459@pengutronix.de
Headers
Series usb: gadget: uvc: refactor and cleanup the pump and complete handlers |

Message

Michael Grzeschik Feb. 13, 2024, 11:27 p.m. UTC
  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@pengutronix.de>
---
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,