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 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel