12 Mar
2013
12 Mar
'13
10:35 p.m.
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.