OSDN Git Service

ALSA: usb-audio: Create UMP blocks from USB MIDI GTBs
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 07:53:33 +0000 (09:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 10:11:07 +0000 (12:11 +0200)
commitd9c99876868c861afd0e9ce2cea407bbc446b3c9
treedc764d59f023895f0e5bb314d82e079bb09f1bfe
parent51701400a94e999c3109c84f88273a9face51c4b
ALSA: usb-audio: Create UMP blocks from USB MIDI GTBs

USB MIDI spec defines the Group Terminal Blocks (GTB) that associate
multiple UMP Groups.  Those correspond to snd_ump_block entities in
ALSA UMP abstraction, and now we create those UMP Block objects for
each UMP Endpoint from the parsed GTB information.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-13-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/midi2.c