Question on ASoC driver load order

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question on ASoC driver load order

1,352件の閲覧回数
t_kuha
Contributor I

Hello,

I have written Linux ASoC driver code (codec driver & machine driver) for a certain audio codec IC.

The problem is sometimes the machine driver seems loaded before the codec driver, resulting in unsuccessful detection of the deice (e.g. "failed to find codec platform device" error).

Now my questions are:

1. My understanding is: ASoC codec driver (snd-soc-***.ko) must be loaded before machine driver (snd-soc-imx-***.ko).

Is this correct?

2. How can I ensure the load order of the modules?

Is there any sort of Kernel configuration or code for that?

Best regards,

ラベル(1)
0 件の賞賛
返信
1 返信

1,265件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi t_kuha

one can try nxp linux releases from source.codeaurora.org/external/imx repository

linux-imx - i.MX Linux kernel 

Audio infrastructure is described in sect.7.1 Advanced Linux Sound Architecture (ALSA)

System on a Chip (ASoC) Sound attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信