]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: seq-oss: Initialize MIDI clients asynchronously
authorTakashi Iwai <tiwai@suse.de>
Tue, 16 Jul 2013 10:17:49 +0000 (12:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 Jul 2013 07:19:24 +0000 (09:19 +0200)
commit9ccd9e8ef61e1c344929db5ab4c2a12ebe2dbacf
treeef8d82a3c1bc25891c544e8afd3277923597b315
parent349c684581285c276d960cc203974a8013ef4ba2
ALSA: seq-oss: Initialize MIDI clients asynchronously

We've got bug reports that the module loading stuck on Debian system
with 3.10 kernel.  The debugging session revealed that the initial
registration of OSS sequencer clients stuck at module loading time,
which involves again with request_module() at the init phase.  This is
triggered only by special --install stuff Debian is using, but it's
still not good to have such loops.

As a workaround, call the registration part asynchronously.  This is a
better approach irrespective of the hang fix, in anyway.

Reported-and-tested-by: Philipp Matthias Hahn <pmhahn@pmhahn.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/oss/seq_oss_init.c
sound/core/seq/oss/seq_oss_midi.c