Mark Brown wrote:
On Tue, Jan 19, 2010 at 02:47:16PM -0600, Miguel Aguilar wrote:
But I can set only one at a time in the dm365_evm_snd_devdata:
...
So in case what is the proper way to do this?
For now use an ifdef in the machine driver. There's some work due to begin fairly shortly (I've CCed in my co-maintainer Liam who's actually going to be doing the work) to allow multiple CODECs to work simultaneously, if you put the ifdef in the machine driver now then it should be straightforward to update the machine driver to make use of this new feature when it's ready.
Ok, machine driver you mean sound/soc/davinci/davinci-evm.c file?
So at the moment I will use ifdef to choose by using the configuration menu one codec or the other one at time, as you said it should be straightforward to enable the AIC3x and the Voice Codec simultaneously.
Thanks, Miguel Aguilar