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>
Showing
- src/modules/alsa/alsa-ucm.c 16 additions, 4 deletionssrc/modules/alsa/alsa-ucm.c
- src/modules/alsa/alsa-util.h 7 additions, 0 deletionssrc/modules/alsa/alsa-util.h
- src/modules/alsa/module-alsa-card.c 8 additions, 2 deletionssrc/modules/alsa/module-alsa-card.c
- src/modules/module-udev-detect.c 12 additions, 2 deletionssrc/modules/module-udev-detect.c
- src/pulsecore/module.c 6 additions, 2 deletionssrc/pulsecore/module.c
- src/pulsecore/module.h 5 additions, 0 deletionssrc/pulsecore/module.h
Loading
Please register or sign in to comment