diff options
author | Dan Vacura | 2022-04-01 11:04:45 -0500 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-04-21 18:14:34 +0200 |
commit | 324e4f85070f89b58c5f9926370ad19dea907dc7 (patch) | |
tree | 7b4960a98ae5bb14a23602c3485f646c3a44b621 /Documentation/usb | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
usb: gadget: uvc: allow changing interface name via configfs
Add a configfs entry, "function_name", to change the iInterface field
for VideoControl. This name is used on host devices for user selection,
useful when multiple cameras are present. The default will remain "UVC
Camera".
Signed-off-by: Dan Vacura <w36195@motorola.com>
Link: https://lore.kernel.org/r/20220401160447.5919-1-w36195@motorola.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/usb')
-rw-r--r-- | Documentation/usb/gadget-testing.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/usb/gadget-testing.rst b/Documentation/usb/gadget-testing.rst index c6d034abce3a..1c37159fa171 100644 --- a/Documentation/usb/gadget-testing.rst +++ b/Documentation/usb/gadget-testing.rst @@ -787,6 +787,7 @@ The uvc function provides these attributes in its function directory: streaming_maxpacket maximum packet size this endpoint is capable of sending or receiving when this configuration is selected + function_name name of the interface =================== ================================================ There are also "control" and "streaming" subdirectories, each of which contain |