From: Mengdong Lin mengdong.lin@linux.intel.com
Sound cards are defined by machines. And off-soc codecs and DSPs embedded in DSP can be taken as the components and resued by different machines/ sound cards. This series allows codec and SOC vendors to install UCM configuration files for a specific codec or DSP, and sound card verb files can just include these conf files of components, and trigger enable/ disable sequence defined by the component devices.
Component devices will not be exposed to applications for backward compatibility. So audio servers like PulseAudio and CRAS still only see the machine devices.
Mengdong Lin (3): ucm: Skip component directories when scanning sound card configuration files ucm: Parse sequence of component devices ucm: Execute sequence of component devices
src/ucm/main.c | 98 ++++++++++++++++++++++++++++++++++++----- src/ucm/parser.c | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++- src/ucm/ucm_local.h | 11 +++++ src/ucm/utils.c | 1 + 4 files changed, 220 insertions(+), 12 deletions(-)