On Thu, Aug 19, 2010 at 4:58 PM, Manuel Lauss <manuel.lauss@xxxxxxxxxxxxxx> wrote: > On Thu, Aug 19, 2010 at 4:48 PM, Mark Brown > <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: >> On Thu, Aug 19, 2010 at 04:39:17PM +0200, Manuel Lauss wrote: >> >>> True, but I don't see how one can pass instance data to >>> the ac97_read/write/whatever functions. >> >> The struct snd_ac97 * passed in to them has a pointer to the struct >> snd_card * for the card which should (via some further indirection) >> allow you to get back to the ASoC specific structures. > > (and for example on how > to pass per-instance platform data around? It's not immediately obvious > to me how to get data allocated in a platform_driver.probe() callback to > the various dai_ops and pcm_ops). Nevermind, figured it out by accident. Manuel Lauss -- To unsubscribe from this list: send the line "unsubscribe alsa-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel