summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2022-10-26 21:22:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-22 18:50:22 +0300
commit181babf7b4e5050b7a23cb47eb06277405cf132f (patch)
treea2eec39dc4c673941d678327a70e5c3582a2807d /drivers/usb/cdns3
parenteb7081409f94a9a8608593d0fb63a1aa3d6f95d8 (diff)
downloadlinux-181babf7b4e5050b7a23cb47eb06277405cf132f.tar.xz
usb: gadget: uvc: also use try_format in set_format
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> Fixes: e219a712bc06 ("usb: gadget: uvc: add v4l2 try_format api call") Link: https://lore.kernel.org/r/20221026182240.363055-1-m.grzeschik@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions