usb: gadget: uvc: Add new enable_interrupt_ep attribute
authorDaniel Scally <dan.scally@ideasonboard.com>
Mon, 30 Jan 2023 10:50:44 +0000 (10:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Feb 2023 10:16:17 +0000 (11:16 +0100)
commita36afe7804612c524396e59f9521ed06e39bf62c
tree94a4a40712da5184dc65ea923cbd35449db3c761
parent3078212cafaece5dfebc7bd57d8c395be7862a5c
usb: gadget: uvc: Add new enable_interrupt_ep attribute

Add a new attribute to the default control config group that allows
users to specify whether they want to enable the optional interrupt
endpoint for the VideoControl interface.

Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Link: https://lore.kernel.org/r/20230130105045.120886-3-dan.scally@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/configfs-usb-gadget-uvc
drivers/usb/gadget/function/u_uvc.h
drivers/usb/gadget/function/uvc_configfs.c