Skip to content

Commit

Permalink
ALSA: workaround: change the timing of alsa_sound_last_init()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviwed-by: Mark Brown <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
morimoto authored and tiwai committed Apr 19, 2012
1 parent 3e84319 commit 590b477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/last.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 590b477

Please sign in to comment.