[PATCH v4 0/2] usb: gadget: uvc: handle setup stream ctrl requests

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

 



This patches are handling the streaming ctrl request before sending it
to the userspace and just before it is replied to the host. Adding a
validation and some data simplifaction.

Michael Grzeschik (2):
  usb: gadget: uvc: default the ctrl request interface offsets
  usb: gadget: uvc: add validate and fix function for uvc response

 drivers/usb/gadget/function/f_uvc.c    | 17 +++++-
 drivers/usb/gadget/function/uvc.h      |  1 +
 drivers/usb/gadget/function/uvc_v4l2.c | 76 ++++++++++++++++++++++++++
 include/uapi/linux/usb/g_uvc.h         |  3 +
 4 files changed, 94 insertions(+), 3 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