[alsa-devel] asoc multi-component: almost there!

Timur Tabi timur.tabi at gmail.com
Tue Jul 27 17:20:20 CEST 2010

On Tue, Jul 27, 2010 at 8:49 AM, Liam Girdwood <lrg at slimlogic.co.uk> wrote:

> Each machine DAI link now has a sysfs entry so we can inspect its
> configuration/status now.

I have a suspicion that this will totally break my code.

> Hence each machine DAI link must be named
> differently. You could have a "cs4270 playback" and "cs4270 capture" DAI
> links now.

That won't work either.  For one thing, the CS4270 driver registers
only one DAI, and it's called "cs4270-hifi".  So I have to call it
"cs4270-hifi".  So I can't call it anything else.

ASoC should detect when the machine driver is registering a connection
between a CPU object and a codec, if the codec's DAI has already been
given a sysfs entry.

Timur Tabi
Linux kernel developer at Freescale

More information about the Alsa-devel mailing list