commit | 4945f1fdc14ef090abe50d1b5682bfc1e4763c06 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Mar 11 12:50:15 2015 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Mar 11 12:53:52 2015 +0100 |
tree | 035ae743dc238482b44d43130d262fa20952f8c8 | |
parent | ec0e9937aaa8b0a4b0633711c4d70d622acd9a7f [diff] |
ALSA: seq: Fix init order of snd_seq_device stuff When the sequencer driver is built in kernel, it may panic at boot because of the uninitialized snd_seq_bus_type. Initialize it properly via subsys_initcall() instead of module_init() to assure that the bus is registered beforehand. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Fixes: 7c37ae5c625a ('ALSA: seq: Rewrite sequencer device binding with standard bus') Signed-off-by: Takashi Iwai <tiwai@suse.de>