mirror of
https://github.com/torvalds/linux.git
synced 2026-03-07 23:24:35 +01:00
When using f_midi from configfs the USB MIDI interface string is hardcoded to 'MIDI function'. This USB string descriptor is used by some third-party OS or software to display the name of the MIDI device Since we add an additional string option a new macro block was created to factorize declarations Signed-off-by: Victor Krawiec <victor.krawiec@arturia.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20251209164006.143219-1-victor.krawiec@arturia.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 lines
524 B
Text
15 lines
524 B
Text
What: /config/usb-gadget/gadget/functions/midi.name
|
|
Date: Nov 2014
|
|
KernelVersion: 3.19
|
|
Description:
|
|
The attributes:
|
|
|
|
================ ====================================
|
|
index index value for the USB MIDI adapter
|
|
id ID string for the USB MIDI adapter
|
|
buflen MIDI buffer length
|
|
qlen USB read request queue length
|
|
in_ports number of MIDI input ports
|
|
out_ports number of MIDI output ports
|
|
interface_string USB AudioControl interface string
|
|
================ ====================================
|