My AC97 CPU read/write routines need private data set so that they know which port to use. The mpc5200 has multiple PSCs that can function in AC97 mode. static int psc_dma_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, struct snd_pcm *pcm) { ... if (rtd->socdev->card->codec->ac97) rtd->socdev->card->codec->ac97->private_data = psc_dma; .. } Is there some easier way to set this data? -- Jon Smirl jonsmirl@xxxxxxxxx _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel