]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: gadget: uvc: add g_parm and s_parm for frame interval
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 16 Oct 2024 13:58:09 +0000 (15:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 06:42:22 +0000 (08:42 +0200)
commit2fe7c94dcd0903160e00045f420181351c6ccd80
tree7459305b812c56a54892452fa2cc6a9aed15c5aa
parentf0bbfbd16b3b67106535299d6a9ca3a5565494a6
usb: gadget: uvc: add g_parm and s_parm for frame interval

The uvc gadget driver is lacking the information which frame interval
was set by the host. We add this information by implementing the g_parm
and s_parm callbacks.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20240403-uvc_request_length_by_interval-v7-4-e224bb1035f0@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/uvc.h
drivers/usb/gadget/function/uvc_v4l2.c
drivers/usb/gadget/function/uvc_video.c