]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: gadget: f_uac2: Expose all string descriptors through configfs.
authorChris Wulff <Chris.Wulff@biamp.com>
Sun, 4 Aug 2024 00:19:24 +0000 (20:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Aug 2024 08:37:05 +0000 (10:37 +0200)
commit8952e50e16e383ff7fce873ac7676e0d68a3552b
treee013a2dbfa805c51c5b7c9e93dc206862c6fa0f1
parent2919d888794ec25ae0af79c7ed7f5d48fe4d698f
usb: gadget: f_uac2: Expose all string descriptors through configfs.

This makes all string descriptors configurable for the UAC2 gadget
so the user can configure names of terminals and controls. Alt mode
names are not included for now and will be in future work related
to adding alternate settings.

discussion thread for api changes for alt mode settings:
https://lore.kernel.org/linux-usb/35be4668-58d3-894a-72cf-de1afaacae45@ivitera.com/T/

Signed-off-by: Chris Wulff <chris.wulff@biamp.com>
Link: https://lore.kernel.org/r/20240804001923.3279431-2-crwulff@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/configfs-usb-gadget-uac2
Documentation/usb/gadget-testing.rst
drivers/usb/gadget/function/f_uac2.c
drivers/usb/gadget/function/u_uac2.h