• Takashi Iwai's avatar
    ALSA: seq: ump: Skip useless ports for static blocks · 3bfd7c0b
    Takashi Iwai authored
    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: 81fd444a ("ALSA: seq: Bind UMP device")
    Cc: <stable@vger.kernel.org>
    Link: https://patch.msgid.link/20240717083322.25892-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    3bfd7c0b
seq_ump_client.c 15.7 KB