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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx/

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(-)

-- 
2.30.2




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux