diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-04-19 09:00:27 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-04-19 13:51:54 +0200 |
commit | 590b4775d6b628c7ad215fd0335a0a787032e2dd (patch) | |
tree | 7f0deac6f7f777b6a4663b12e3f7dd8cc2f51a6e /sound/last.c | |
parent | ALSA: hda/sigmatel - Fix inverted mute LED (diff) | |
download | linux-590b4775d6b628c7ad215fd0335a0a787032e2dd.tar.xz linux-590b4775d6b628c7ad215fd0335a0a787032e2dd.zip |
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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r-- | sound/last.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/last.c b/sound/last.c index bdd0857b8871..7ffc182e0844 100644 --- a/sound/last.c +++ b/sound/last.c @@ -38,4 +38,4 @@ static int __init alsa_sound_last_init(void) return 0; } -__initcall(alsa_sound_last_init); +late_initcall_sync(alsa_sound_last_init); |