ALSA: usb-audio: Parse UMP Endpoint and Function Blocks at first
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Jun 2023 08:10:47 +0000 (10:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jun 2023 16:22:28 +0000 (18:22 +0200)
commit54852e8f401a70b3a0197737122be523639dc62f
treea8b46dbd74fd08c3ddd935760f567a3028130750
parent37e0e14128e0685267dc5c037bf655421a6ce2ea
ALSA: usb-audio: Parse UMP Endpoint and Function Blocks at first

Try to parse the UMP Endpoint and UMP Function Blocks for building the
topology at first.  Only when those are missing (e.g. on an older USB
MIDI 2.0 spec or a unidirectional endpoint), the driver still creates
blocks based on USB group terminal block information as fallback.

Link: https://lore.kernel.org/r/20230612081054.17200-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/midi2.c