On Thu, Mar 8, 2012 at 8:05 PM, Mark Brown broonie@opensource.wolfsonmicro.com wrote:
You've still not explained the problem you're seeing but this sounds like something that should work. Please address the
- Faced problem if there are no platform settings.
machine driver's hw_params is not called platform_driver's functions(snd_pcm_ops, snd_soc_platform_driver) are not called. As a result, the following message is not showed . (by soc_pcm.c) printk(KERN_INFO "asoc: %s <-> %s mapping ok\n", codec_dai->name, cpu_dai->name);
This makes no sense. Registering a platform device will have *no* impact on ASoC, it only cares if the relevant ASoC function drivers have come up. Probably there was some other problem with what you were doing but it's hard to say...
I've confirmed that driver detected by ASoC correctly without these platform functions. Please check next patch series.
thanks.