]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: workaround: change the timing of alsa_sound_last_init()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 19 Apr 2012 07:00:27 +0000 (00:00 -0700)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Apr 2012 11:51:54 +0000 (13:51 +0200)
commit51255615566b2830b41e4eaec41ed527b4074949
tree7f0deac6f7f777b6a4663b12e3f7dd8cc2f51a6e
parentcca1e343f25641ca3cebd1c43a1ff0ffbdf34c62
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>
sound/last.c