]> git.ipfire.org Git - thirdparty/linux.git/commit
Revert "ALSA: ump: Don't enumeration invalid groups for legacy rawmidi"
authorTakashi Iwai <tiwai@suse.de>
Mon, 30 Dec 2024 11:40:22 +0000 (12:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 30 Dec 2024 11:40:53 +0000 (12:40 +0100)
commitabbff41b6932cde359589fd51f4024b7c85f366b
tree6786f8817870151a4f14d4abe704f96a569afc54
parent0179488ca992d79908b8e26b9213f1554fc5bacc
Revert "ALSA: ump: Don't enumeration invalid groups for legacy rawmidi"

This reverts commit c2d188e137e77294323132a760a4608321a36a70.

Although it's fine to filter the invalid UMP groups at the first probe
time, this will become a problem when UMP groups are updated and
(re-)activated.  Then there is no way to re-add the substreams
properly for the legacy rawmidi, and the new active groups will be
still invisible.

So let's revert the change.  This will move back to showing the full
16 groups, but it's better than forever lost.

Link: https://patch.msgid.link/20241230114023.3787-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/ump.c