[alsa-devel] How to use soc API without codec driver
broonie at opensource.wolfsonmicro.com
Wed Dec 9 11:45:02 CET 2009
On Wed, Dec 09, 2009 at 07:39:19AM +0100, Marc Garnier wrote:
> You mean I just have to use snd_soc_register_dai()? Things like
> soc_init_card() and snd_soc_new_pcms() are not mandatory?
init_card() has been removed now, but new_pcms() is still required -
like I say, look at one of the existing drivers like the spdif
transciever driver for examples of drivers which do what you're trying
to do here.
> static int __init q2686_modinit(void)
> return snd_soc_register_dai(&q2686_dai);
This should be done from a platform device, not from module init.
More information about the Alsa-devel