mbox series

[v2,0/7] usb: gadget: uvc: smaller fixes for stability

Message ID 20211003202939.306-1-m.grzeschik@pengutronix.de (mailing list archive)
Headers show
Series usb: gadget: uvc: smaller fixes for stability | expand

Message

Michael Grzeschik Oct. 3, 2021, 8:29 p.m. UTC
This series improves the uvc video gadget overal stability and code
quality. Including a fix for the configfs udc callbacks.

Michael Grzeschik (6):
  usb: gadget: uvc: consistently use define for headerlen
  usb: gadget: uvc: test if ep->desc is valid on ep_queue
  usb: gadget: uvc: only schedule stream in streaming state
  usb: gadget: uvc: only pump video data if necessary
  usb: gadget: uvc: ensure the vdev is unset
  usb: gadget: udc: ensure the gadget is still available

Michael Tretter (1):
  usb: gadget: uvc: rename function to be more consistent

 drivers/usb/gadget/composite.c          |  4 ++--
 drivers/usb/gadget/function/f_uvc.c     |  7 ++++---
 drivers/usb/gadget/function/uvc_v4l2.c  |  3 ++-
 drivers/usb/gadget/function/uvc_video.c | 23 ++++++++++++++++-------
 drivers/usb/gadget/udc/core.c           |  3 +++
 5 files changed, 27 insertions(+), 13 deletions(-)

Comments

Laurent Pinchart Oct. 4, 2021, 10:43 p.m. UTC | #1
Hi Michael,

On Sun, Oct 03, 2021 at 10:29:32PM +0200, Michael Grzeschik wrote:
> This series improves the uvc video gadget overal stability and code
> quality. Including a fix for the configfs udc callbacks.

I've only noticed v2 after reviewing v1, sorry about that. I think all
comments still apply though.

> Michael Grzeschik (6):
>   usb: gadget: uvc: consistently use define for headerlen
>   usb: gadget: uvc: test if ep->desc is valid on ep_queue
>   usb: gadget: uvc: only schedule stream in streaming state
>   usb: gadget: uvc: only pump video data if necessary
>   usb: gadget: uvc: ensure the vdev is unset
>   usb: gadget: udc: ensure the gadget is still available
> 
> Michael Tretter (1):
>   usb: gadget: uvc: rename function to be more consistent
> 
>  drivers/usb/gadget/composite.c          |  4 ++--
>  drivers/usb/gadget/function/f_uvc.c     |  7 ++++---
>  drivers/usb/gadget/function/uvc_v4l2.c  |  3 ++-
>  drivers/usb/gadget/function/uvc_video.c | 23 ++++++++++++++++-------
>  drivers/usb/gadget/udc/core.c           |  3 +++
>  5 files changed, 27 insertions(+), 13 deletions(-)
>