Re: [PATCH] eukrea-tlv320: add support for our i.MX25 board

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

 



Hi Mark,

Le 19/06/2010 13:06, Mark Brown a écrit :
> On Sat, Jun 19, 2010 at 10:45:04AM +0200, Eric Bénard wrote:
>> ok, we can suppose that if someone introduce the possibility to
>> build the SSI driver as a separate module, he will add the right
>> Kconfig option.
>
> This should just be a matter of a simple Makefile edit.
>
OK, I gave this a quick try and it doesn't seem actually possible to 
compile imx-ssi.c as a module without changing some code to separate ssi 
and pcm parts which are actually mixed in imx-ssi.c.
So actually, selecting SND_IMX_SOC as a module produces snd-soc.imx.ko 
which integrates the SSI driver + the PCM drivers.

So actually the 3 following configurations are possible (and tested on 
my i.MX27 board)  with the patch I sent for Kconfig :
- imx soc driver in kernel, board driver in kernel
- imx soc driver in kernel, board driver (snd-soc-eukrea-tlv320.ko) as a 
module
- imx soc driver (snd-soc-imx.ko) and board driver 
(snd-soc-eukrea-tlv320.ko) as 2 modules.

Also thanks for suggesting this Makefile edit, this allowed me to fix 
sound support for my board when soc is compiled as a module ;-)

Eric
_______________________________________________
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