Re: [PATCH] usb: gadget: uvc: also use try_format in set_format

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

 



On Wed, Oct 26, 2022 at 08:22:40PM +0200, Michael Grzeschik wrote:
> Since e219a712bc06 (usb: gadget: uvc: add v4l2 try_format api call) the
> try_format function is available. With this function includes checks for
> valid configurations programmed in the configfs. We use this function to
> ensure to return valid values on the set_format callback.
> 
> Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
> 
> ---
>  drivers/usb/gadget/function/uvc_v4l2.c | 72 ++++++++------------------
>  1 file changed, 21 insertions(+), 51 deletions(-)

Again, is this a fix?  And should it go to stable kernels?

thanks,

greg k-h



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux