提交 590b4775 编写于 作者: K Kuninori Morimoto 提交者: Takashi Iwai

ALSA: workaround: change the timing of alsa_sound_last_init()

Current alsa_sound_last_init() was called as __initcall().
So, on current ALSA, only devices that had been properly
registered at this point were shown.
So, it will show "No soundcards found" if driver requests
probe deferment. it's often misleading.
This patch delays the timing of alsa_sound_last_init()
as workaround.
Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviwed-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 3e843196
...@@ -38,4 +38,4 @@ static int __init alsa_sound_last_init(void) ...@@ -38,4 +38,4 @@ static int __init alsa_sound_last_init(void)
return 0; return 0;
} }
__initcall(alsa_sound_last_init); late_initcall_sync(alsa_sound_last_init);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册