AnsweredAssumed Answered

Loading sgtl5000 codec and machine driver as dynamic module

Question asked by Anil Ghadiya on Jan 27, 2015
Latest reply on Jul 28, 2015 by Saurabh Patel

Hi,

 

Is it possible to insert the sgtl5000 related modules as dynamic module(using "insmod").

I have build sgtl5000.c imx-sgtl5000.c and imx-audmux.c as independent module and tried to insert it, but it gives error saying as shown below...

 

root@nitrogen:/home/ubuntu/sgtl5000#

root@nitrogen:/home/ubuntu/sgtl5000# insmod sgtl5000.ko

root@nitrogen:/home/ubuntu/sgtl5000# insmod imx-audmux.ko

root@nitrogen:/home/ubuntu/sgtl5000# insmod imx-sgtl5000.ko

imx-sgtl5000 sound.24: ASoC: CPU DAI (null) not registered

imx-sgtl5000 sound.24: snd_soc_register_card failed (-517)

root@nitrogen:/home/ubuntu/sgtl5000# dmesg -c

sgtl5000 0-000a: sgtl5000 revision 0x11

imx-sgtl5000 sound.24: ASoC: CPU DAI (null) not registered

imx-sgtl5000 sound.24: snd_soc_register_card failed (-517)

platform sound.24: Driver imx-sgtl5000 requests probe deferral

root@nitrogen:/home/ubuntu/sgtl5000#

 

Am i missing anything here?..

I am able to load these modules with kernel(statically) and user the capture and playback functionality

I am using iMX-sabrelite board with kernel_3.10.17_1.0.0 SD card image.

 

Thanks in Advance,

Anil Ghadiya

Outcomes