[alsa-devel] [PATCH 1/2 v2] ASoC: add snd_soc_register_component()

Stephen Warren swarren at wwwdotorg.org
Tue Mar 12 22:35:01 CET 2013

On 03/11/2013 07:27 PM, Kuninori Morimoto wrote:
> Current ASoC has register function for platform/codec/dai/card,
> but doesn't have for cpu.
> It often produces confusion and fault on ASoC.
> As result of ASoC community discussion,
> we consider new struct snd_soc_component for CPU/CODEC,
> and will switch over to use it.
> This patch adds very basic struct snd_soc_component,
> and register function for it.

Perhaps as a separate patch: It'd be nice to add file
/sys/kernel/debug/asoc/components that listed all the registered
components. Anywhere else in debugfs/sysfs/... that CODECs are enumerate
might want to cover components too.

More information about the Alsa-devel mailing list