Deferring Audio Device Probe

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Deferring Audio Device Probe

1,671 次查看
rashmi1
Contributor I

Hi,

We are working on a custom board based on IMX-7d running Android. The board uses an audio codec (WM5110), audio DSP (with custom firmware) that is part of the codec's digital core and an audio switch connected to the headphone jack. As it stands, the DSP bootup is triggered by the ALSA PCM core and occurs much later after all the device probes (including both the codec and audio switch probes) and this is something of a black box to us. 

We'd however like to defer the audio switch probe to after the DSP boot is complete. How do we go about doing this? Specifically, how do we expose the DSP boot status (see: kernel_imx/sound/soc/codecs/wm_adsp.c) to the audio switch driver and what mechanisms are preferred for deferring probe in a way that doesn't adversely impact the boot-time?

TIA

Rashmi

标签 (4)
0 项奖励
回复
1 回复

1,582 次查看
b36401
NXP Employee
NXP Employee

Please try to restart pulseaudio (after some delay enough for DSP bootup) for it to rescan audio devices.

0 项奖励
回复