ALSA: ump: Fill group names for legacy rawmidi substreams
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Aug 2023 07:51:06 +0000 (09:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Aug 2023 08:03:16 +0000 (10:03 +0200)
commit1761f4cc114af531020ea190df6a24dd288a8221
tree25831e9df7806eb2d8df859ae482b1e083dac210
parent5f11dd938fe7657899ca79b2ffc4d708e43f4737
ALSA: ump: Fill group names for legacy rawmidi substreams

To make it clearer which legacy substream corresponds to which UMP
group, fill the subname field of each substream object with the group
number and the endpoint name, e.g. "Group 1 (My Device)".

Ideally speaking, we should have some better link information to the
derived UMP, but it's another feature extension.

Fixes: 0b5288f5fe63 ("ALSA: ump: Add legacy raw MIDI support")
Link: https://lore.kernel.org/r/20230824075108.29958-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/ump.c