[alsa-devel] [PATCH v6 1/3] ASoC: Add initial support for multiple CPU DAIs
Charles Keepax
ckeepax at opensource.cirrus.com
Mon Jun 25 12:03:30 CEST 2018
On Fri, Jun 22, 2018 at 10:13:28AM -0500, Pierre-Louis Bossart wrote:
> >>> /* the component which has non_legacy_dai_naming is Codec */
> >>>- if (cpu_dai->component->driver->non_legacy_dai_naming) {
> >>Not sure if the code refactoring below makes sense in a codec-codec link,
> >>you probably wouldn't have multiple cpu_dais then, would you?
> >
> >Yes, a valid point. You suggest to leave this piece of code as is ?
>
> Not necessarily. I don't understand how the codec-codec and multi
> cpu_dais intersect, all I am asking for is a check if this change is
> needed or not.
>
Seems plausible to me you could have multiple cpu_dais on CODEC
to CODEC links. Really for CODEC to CODEC links the whole
CPU/CODEC distinction doesn't really exist. It doesn't really
matter which end you make which, so I guess it makes sense to
support multiple CPU DAIs on such a link.
Thanks,
Charles
More information about the Alsa-devel
mailing list