[alsa-devel] [PATCH] ASoC: dpcm: prevent error for paths including static links

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Wed Mar 30 10:58:12 CEST 2016


On Tue, Mar 29, 2016 at 02:22:24PM -0700, Mark Brown wrote:
> On Tue, Mar 15, 2016 at 03:34:49PM +0000, Piotr Stankiewicz wrote:
> 
> > This happens when setting up, e.g. a route starting with a dynamic
> > DAI, which passes through a static DAI (say, "Some FE" -> "Some BE"
> > -> "Codec to Modem link"). All DAPM widgets involved in that path will
> 
> Is this not just a normal CODEC connected to a back end on a DPCM
> system?  What are a "dynamic DAI" and "static DAI"?  Your changelog is
> very unclear, I really can't tell from your changelog what this is
> aiming to do or how it proposes to do it.

The issue is basically if you have a path with a DPCM DAI at the
front, but then a regular CODEC to CODEC DAI link later in the
path. Say for example a CODEC attached to a CPU that uses DPCM
but then the path goes through a CODEC to CODEC link to a speaker
AMP after the CODEC.

> 
> I'm also concerned that nobody else seems to be seeing this, that's a
> bit of a warning sign that you might be misusing things here.  Your
> mention of a "Codec to Modem link" sounds like you might be trying to
> use DPCM for off-SoC components somehow which is just not something
> that's expected to work.
> 
> At a minimum this needs a much better changelog.

Piotr is on holiday this week but should be back start of next
week, so should be able to respin the patch then. For what its
worth though I have seen this warning on other systems from the
one he is working on as well.

Thanks,
Charles


More information about the Alsa-devel mailing list