diff options
author | James Gruber <jimmyjgruber@gmail.com> | 2023-09-15 01:27:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-05 10:35:43 +0300 |
commit | de2eb28cdb76df9ce7587e1c6552b169069af4bb (patch) | |
tree | 1265bc4e1592071efb2410fd4be16cfd64292f40 /Documentation/ABI/testing/configfs-usb-gadget-uac2 | |
parent | af313201946a7e64f6985711136ef02f9113a8fc (diff) | |
download | linux-de2eb28cdb76df9ce7587e1c6552b169069af4bb.tar.xz |
usb: gadget: f_uac2: allow changing terminal types through configfs
Add "c_terminal_type" and "p_terminal_type" configfs entries
in order to allow the user to change the capture and playback terminal
type codes.
These fields affect the type of audio device that Windows detects, so
being able to modify this is useful when it would be advantageous for
a gadget to be detected as something other than a generic
speaker/microphone.
The fields default to microphone for the capture type field and speaker
for the playback type field as was the case before.
Signed-off-by: James Gruber <jimmyjgruber@gmail.com>
Link: https://lore.kernel.org/r/20230914222746.155126-1-jimmyjgruber@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-uac2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-uac2 b/Documentation/ABI/testing/configfs-usb-gadget-uac2 index 3371c39f651d..a2bf4fd82a5b 100644 --- a/Documentation/ABI/testing/configfs-usb-gadget-uac2 +++ b/Documentation/ABI/testing/configfs-usb-gadget-uac2 @@ -35,4 +35,6 @@ Description: req_number the number of pre-allocated requests for both capture and playback function_name name of the interface + c_terminal_type code of the capture terminal type + p_terminal_type code of the playback terminal type ===================== ======================================= |