On Tue, Oct 13, 2009 at 6:14 PM, Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > On Tue, Oct 13, 2009 at 06:09:07PM +0800, Barry Song wrote: > >> Another issue is that there is only one global soc_ac97_ops in the >> whole system. In case there are two different ac97 ports, how to >> handle? > >> Even though the two ac97 ports are same, how could CPU DAI related >> private data can be given to snd_ac97 to let it use that data to >> execute different operations? It seems snd_ac97 is only attached to >> codec. > > I've no current plan to work on multiple AC97 controllers support within > ASoC except in so far as it falls out of other work - I've never > encountered an embedded system with multiple AC97 controllers so it's a > somewhat academic issue. Patches welcome, though I'd expect it'd be > sensible to wait until multi-card support is present. Currently, this patch should can help people to set platform_data to snd_ac97, and different operation can be fulfilled based on different ac97_pdata even with only one ac97 ops instance. author Marek Vasut <marek.vasut@xxxxxxxxx> Wed, 22 Jul 2009 11:01:03 +0000 (13:01 +0200) commit 474828a40f6ddab6e2a3475a19c5c84aa3ec7d60 ALSA: Allow passing platform_data to devices attached to AC97 bus This patch allows passing platform_data to devices attached to AC97 bus (like touchscreens, battery measurement chips ...). Signed-off-by: Marek Vasut <marek.vasut@xxxxxxxxx> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> > _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel