]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: Skip component directories when scanning sound card configuration files
authorMengdong Lin <mengdong.lin@linux.intel.com>
Mon, 28 Nov 2016 05:33:34 +0000 (13:33 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Dec 2016 19:29:09 +0000 (20:29 +0100)
commit6bf8447b9102d1b9948ee4d75d5ad7664a61d863
treed9fd0084af209653a0f3152ba5715a20c3d632f6
parent38a2d2eda880fda9ed5a4a219db498d9c0856d71
ucm: Skip component directories when scanning sound card configuration files

Cards are defined by machines. DSPs embedded in SoC and off-soc codecs
can be taken as components for machines, and can be reused by different
machines/cards. Codec and SoC vendors can define their own UCM config
files. If a codec or DSP is used by a machine, the card configuration file
can include the conf file of the codec and DSP. Later patches will
complete support for this feature.

Two new directories will be used to store the UCM configuration files for
a specific codec or DSP firmware:
- /usr/share/alsa/ucm/dsps ... for DSP embedded in SoC
- /usr/share/alsa/ucm/codecs ... for off-soc codecs

These two directories will be skipped when UCM manager scans the card
directories under /usr/share/alsa/ucm.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/ucm/parser.c