diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-07-25 09:22:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-26 07:38:14 +0300 |
commit | a85ff0db48c372063988f2072a07bd361ce9c4ef (patch) | |
tree | d576d39c55765dba186cfdd83ec85c60fc25cd11 /drivers/usb/host | |
parent | 1b437d2fb3c1a8c7f2a8a096c0871c8e7c8d109e (diff) | |
download | linux-a85ff0db48c372063988f2072a07bd361ce9c4ef.tar.xz |
usb: gadget: midi2: More flexible MIDI 1.0 configuration
This patch allows users to set up MIDI 1.0 ports more flexibly.
Namely, instead of the fixed mapping only from FB 0, now multiple
block definitions are applied to build up the MIDI 1.0 mapping.
The each block config has midi1_first_group and midi1_num_groups
attributes, and those specify which Groups are used for MIDI 1.0.
Those fields must be within the UMP Groups defined in the block
itself.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20230725062206.9674-8-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions