Messages in this thread | | | Date | Fri, 9 Mar 2012 15:26:27 +0900 | Subject | Re: [PATCH v3] sound/soc/lapis: add platform driver for ML7213 | From | Tomoya MORINAGA <> |
| |
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. -- ROHM Co., Ltd. tomoya -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |