ucm: add possibility to skip the UCM card completely (Linked)
authorJaroslav Kysela <perex@perex.cz>
Sun, 7 Jun 2020 16:25:41 +0000 (18:25 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 17 Sep 2020 14:52:50 +0000 (14:52 +0000)
commitc1a7e3c59d5e2dcb6ca95c66d74c0ca7a45395d9
tree08b448e956feaa7e1094e0badbdd2396848e6b17
parentb72724369b8d04057c53720969678a168c449d70
ucm: add possibility to skip the UCM card completely (Linked)

We have a requirement to "hide" some hardware drivers, because
other (main) UCM configuration will refer them.

This patch use special error codes to notify the upper layers
to skip the module loading.

BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/30
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/modules/alsa/alsa-ucm.c
src/modules/alsa/alsa-util.h
src/modules/alsa/module-alsa-card.c
src/modules/module-udev-detect.c
src/pulsecore/module.c
src/pulsecore/module.h