27 Jul
2010
27 Jul
'10
5:20 p.m.
On Tue, Jul 27, 2010 at 8:49 AM, Liam Girdwood lrg@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