From: Greg KH <gregkh@linuxfoundation.org>
To: Michael Grzeschik <m.grzeschik@pengutronix.de>
Cc: linux-usb@vger.kernel.org, linux-media@vger.kernel.org,
balbi@kernel.org, laurent.pinchart@ideasonboard.com,
kernel@pengutronix.de
Subject: Re: [PATCH] usb: gadget: uvc: also use try_format in set_format
Date: Wed, 9 Nov 2022 11:38:22 +0100 [thread overview]
Message-ID: <Y2uDHpftYLHs1amf@kroah.com> (raw)
In-Reply-To: <20221026182240.363055-1-m.grzeschik@pengutronix.de>
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@pengutronix.de>
>
> ---
> 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
next prev parent reply other threads:[~2022-11-09 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 18:22 [PATCH] usb: gadget: uvc: also use try_format in set_format Michael Grzeschik
2022-11-09 10:38 ` Greg KH [this message]
2022-11-09 14:06 ` Michael Grzeschik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y2uDHpftYLHs1amf@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=balbi@kernel.org \
--cc=kernel@pengutronix.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=m.grzeschik@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox