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

Michael Grzeschik posted 3 patches 1 year, 12 months ago
drivers/usb/gadget/function/uvc_video.c | 109 +++++++++++++++-----------------
1 file changed, 51 insertions(+), 58 deletions(-)
[PATCH 0/3] usb: gadget: uvc: refactor and cleanup the pump and complete handlers
Posted by Michael Grzeschik 1 year, 12 months ago
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,
-- 
Michael Grzeschik <m.grzeschik@pengutronix.de>