On 03/10/2014 08:20 AM, Kuninori Morimoto wrote:
Hi Lars
I would like to have new "struct snd_soc_cpu" and "snd_soc_register_cpu()" instead of current "component" if possible. It is understandable.
The patchset I'm working goes the other direction. The idea is to eventually remove snd_soc_codec and only have snd_soc_component. With modern SoCs the CPU side isn't just a dumb DAI anymore, but you often have signal routing and mixing capabilities, sample rate converters, sometimes even a full DSP. And then there are also those SoCs which have a DAC and/or ADC directly built-in. This makes them complexity wise similar to the CODEC side and having things like DAPM and our set of standard predefined kcontrols makes it easier to manage them.
Ahh, very nice ! I can 100% agree to your idea :) Sorry for my noise, I didn't know your (or ALSA SoC ?) plan
Please let me know if you need my help (maybe some test ?)
Sure, I'll keep you on Cc for the patches.
- Lars