[alsa-devel] About ASoC DAIs cleanup

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Dec 13 08:19:39 CET 2017


Hi Mark, Lars-Peter
Cc Vinod

About current CPU/Codec DAIs, it is unbalance now I guess.
Codec supports multi DAIs, but CPU is only single DAI.
Because of this unbalanced DAIs support,
Each DAIs code are not readable.

In perfect world, I guess no categorized DAI is nice,
but in reality, it is difficult.
Because many drivers are directly using rtd->codec_dai / rtd->cpu_dai,
and it is difficult to lookup CPU/Codec DAI from non categorize DAIs.
Thus, we can't support non-categorized DAI at this point.

Now Vinod want to use Multi CPU DAI.
If we can support Multi CPU DAI / Multi Codec DAI,
we can cleanup current DAI code more.
But what do you think ?

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list