commit | e219a712bc06dc68ecccb3085cb91438bee2466a | [log] [tgz] |
---|---|---|
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | Sat Sep 10 00:13:35 2022 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 22 15:52:30 2022 +0200 |
tree | b92a2dbd6ccc7ae83a98e095e5336e2b46c7c7f4 | |
parent | 588b9e85609bcb2f84a2be83591480aa943943b6 [diff] |
usb: gadget: uvc: add v4l2 try_format api call This patch adds the uvc_v4l2_try_format api call to validate the setting of v4l2_format. It will fallback to the nearest allowed framesize. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Link: https://lore.kernel.org/r/20220909221335.15033-5-m.grzeschik@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>