summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/configfs-usb-gadget-uac2
diff options
context:
space:
mode:
authorYunhao Tian <t123yh.xyz@gmail.com>2022-01-22 14:24:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-26 16:10:44 +0300
commit993a44fa85c1ea5989fb5c46236ca2e3cfd71b78 (patch)
tree46c6d2a9c6c7de6e7481524261aae193624bef56 /Documentation/ABI/testing/configfs-usb-gadget-uac2
parentdfb05b5dc3afd90e564b69b88ff6be6947a0f32f (diff)
downloadlinux-993a44fa85c1ea5989fb5c46236ca2e3cfd71b78.tar.xz
usb: gadget: f_uac2: allow changing interface name via configfs
This adds "function_name" configfs entry to change string value of the iInterface field. This field will be shown in Windows' audio settings panel, so being able to change it is useful. It will default to "Source/Sink" just as before. Signed-off-by: Yunhao Tian <t123yh.xyz@gmail.com> Link: https://lore.kernel.org/r/20220122112446.1415547-2-t123yh.xyz@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/testing/configfs-usb-gadget-uac2')
-rw-r--r--Documentation/ABI/testing/configfs-usb-gadget-uac21
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-uac2 b/Documentation/ABI/testing/configfs-usb-gadget-uac2
index 9d2f59ab9701..4c6bf63fcb22 100644
--- a/Documentation/ABI/testing/configfs-usb-gadget-uac2
+++ b/Documentation/ABI/testing/configfs-usb-gadget-uac2
@@ -32,4 +32,5 @@ Description:
(in 1/256 dB)
req_number the number of pre-allocated requests
for both capture and playback
+ function_name name of the interface
===================== =======================================