Re: How to use soc API without codec driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);
> }
> module_init(q2686_modinit);

This should be done from a platform device, not from module init.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux