Skip to content

Commit 32108c2

Browse files
committed
ALSA: seq: Skip event type filtering for UMP events
UMP events don't use the event type field, hence it's invalid to apply the filter, which may drop the events unexpectedly. Skip the event filtering for UMP events, instead. Fixes: 4639762 ("ALSA: seq: Add UMP support") Cc: <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 56314c0 commit 32108c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/core/seq/seq_clientmgr.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,9 @@ static struct snd_seq_client *get_event_dest_client(struct snd_seq_event *event,
537537
return NULL;
538538
if (! dest->accept_input)
539539
goto __not_avail;
540+
if (snd_seq_ev_is_ump(event))
541+
return dest; /* ok - no filter checks */
542+
540543
if ((dest->filter & SNDRV_SEQ_FILTER_USE_EVENT) &&
541544
! test_bit(event->type, dest->event_filter))
542545
goto __not_avail;

0 commit comments

Comments
 (0)