mbox series

[v2,0/3] usb: gadget: uvc: fix sg handling

Message ID 20220402232744.3622565-1-m.grzeschik@pengutronix.de (mailing list archive)
Headers show
Series usb: gadget: uvc: fix sg handling | expand

Message

Michael Grzeschik April 2, 2022, 11:27 p.m. UTC
This series adds patches to fix the scatter gather handling when
streaming with uvc gadget.

v1: https://lore.kernel.org/linux-usb/20220228141659.775302-1-m.grzeschik@pengutronix.de/

Michael Grzeschik (3):
  usb: gadget: uvc: rework uvcg_queue_next_buffer to uvcg_complete_buffer
  usb: gadget: uvc: giveback vb2 buffer on req complete
  usb: gadget: uvc: improve sg exit condition

 drivers/usb/gadget/function/uvc.h       |  1 +
 drivers/usb/gadget/function/uvc_queue.c | 15 ++-------------
 drivers/usb/gadget/function/uvc_queue.h |  2 +-
 drivers/usb/gadget/function/uvc_video.c | 17 +++++++++++++----
 4 files changed, 17 insertions(+), 18 deletions(-)