]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: drop self-references in SupportedDevice/ConflictingDevice lists
authorJaroslav Kysela <perex@perex.cz>
Mon, 23 Nov 2026 14:43:14 +0000 (15:43 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 24 Nov 2026 10:23:40 +0000 (11:23 +0100)
commit3a0a1b535c5a609dc20eb054db4ff7f0e35cd3f9
tree45bbb70b09a6def61d3b3cbe36f27352d8804a1c
parentd370f2af4d94f5604112f6225619c4f48d14a60d
ucm: drop self-references in SupportedDevice/ConflictingDevice lists

When a device lists its own name in its SupportedDevice or
ConflictingDevice list, the relationship is ambiguous: a device cannot
meaningfully support or conflict with itself. Drop such self-references
in verb_resolve_optional_devices(), after optional references have been
resolved and before the bidirectional relationships are built, so they
do not propagate to other devices.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/parser.c