diff options
author | Yunhao Tian <t123yh.xyz@gmail.com> | 2022-01-22 19:24:40 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-26 14:10:40 +0100 |
commit | dfb05b5dc3afd90e564b69b88ff6be6947a0f32f (patch) | |
tree | 3ab2bc1b7e728764ebd8c029a7789f1de899a59c /Documentation/usb | |
parent | d1d11dd1306908bc18b6592bbd21ba7d19a931e5 (diff) | |
download | linux-dfb05b5dc3afd90e564b69b88ff6be6947a0f32f.tar.gz linux-dfb05b5dc3afd90e564b69b88ff6be6947a0f32f.tar.bz2 linux-dfb05b5dc3afd90e564b69b88ff6be6947a0f32f.zip |
usb: gadget: f_uac1: 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 "AC Interface" just as before if unchanged.
Signed-off-by: Yunhao Tian <t123yh.xyz@gmail.com>
Link: https://lore.kernel.org/r/20220122112446.1415547-1-t123yh.xyz@gmail.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 046842b00c89..1792bd88f666 100644 --- a/Documentation/usb/gadget-testing.rst +++ b/Documentation/usb/gadget-testing.rst @@ -745,6 +745,7 @@ The uac2 function provides these attributes in its function directory: p_volume_res playback volume control resolution (in 1/256 dB) req_number the number of pre-allocated request for both capture and playback + function_name name of the interface ================ ==================================================== The attributes have sane default values. |