[alsa-devel] asoc device probing and dai question
vinod.koul at intel.com
Thu Dec 2 12:38:51 CET 2010
> > One thing which confused me is the soc-core, there the probe of codec and
> > platform are being called, what is the reason for that?
> This allows them to do any initialisation which requires the ALSA card
> to be present - the ALSA card is only created once the entire platform
> is ready.
So I am thinking now that since my platform tells me that I have only one audio
device which is platform device, so should I add my codec device and platform
device same way as I add the soc-audio from my machine driver. That way I can
even change codec's based on what I detect on the board.
And platform and codec driver probe register the dais
Would that be the right approach?
More information about the Alsa-devel