On Wed, Dec 13, 2017 at 07:19:39AM +0000, Kuninori Morimoto wrote: > 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 ? Cleaning things up so we don't need to use rtd->cpu_dai and rtd->codec_dai would definitely be nice, it's also useful for CODEC<->CODEC links. Off the top of my head wrapping the accesses with macros/functions then implementing a way of getting the DAI behind them would be tractable?
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel