2 Dec
2010
2 Dec
'10
12:38 p.m.
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.
Thanks 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?
~Vinod