]> Git Repo - linux.git/commit
ALSA: seq: ump: Skip useless ports for static blocks
authorTakashi Iwai <[email protected]>
Wed, 17 Jul 2024 08:33:01 +0000 (10:33 +0200)
committerTakashi Iwai <[email protected]>
Wed, 17 Jul 2024 08:40:35 +0000 (10:40 +0200)
commit3bfd7c0ba184de99e9f5083b29e5308f30767265
tree053e76a0c427df908efdacda8fe5f2a0aae9fea7
parent88e98af9f4b5b0d60c1fe7f7f2701b5467691e75
ALSA: seq: ump: Skip useless ports for static blocks

When the UMP Endpoint is configured with static blocks, the block
configuration will never change, hence the unused ports will be
unchanged as well.  Creating sequencer ports for those unused ports
is simply useless, and it might be rather confusing for users.
The idea behind the inactive ports was for allowing connections
from/to ports that can become usable later, but this will never
happen for inactive groups in static blocks.

Let's change the sequencer UMP binding to skip those unused ports when
the UMP EP is with static blocks.

Fixes: 81fd444aa371 ("ALSA: seq: Bind UMP device")
Cc: <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
sound/core/seq/seq_ump_client.c
This page took 0.050567 seconds and 4 git commands to generate.