[alsa-devel] [PATCH 2/4] ASoC: core: Adds support for cpu loopback dai_link

Mark Brown broonie at kernel.org
Tue Dec 1 13:27:47 CET 2015


On Tue, Dec 01, 2015 at 08:26:54AM +0530, Vinod Koul wrote:
> On Mon, Nov 30, 2015 at 04:25:48PM +0000, Mark Brown wrote:

> > Can we make the temporary hack be to check if there's a CODEC defined
> > in the DAI?  It's nasty and fragile but it keeps the hack much better
> > isolated.

> The flag added here, cpu_loopback would do that and keep this isolated from
> the rest. The problem with checking if codec is defined will be for dsp

No, it means that the drivers need to set the flag to work around the
core which is what I want to avoid.

> based loops which terminate in codec. It will not work as we will find codec
> in the dailink for the voice call (modem-dsp-codec) loop

I'm confused about the situation you're describing here.  The
connections are DAI to DAI so why would any CODEC behind the CPU DAI
have an impact?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151201/38c7400b/attachment.sig>


More information about the Alsa-devel mailing list