]> 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)
commit455ec60733065a5b9a43d23e93ab118f0b905a9f
treeef8d82a3c1bc25891c544e8afd3277923597b315
parent1cef282b654aaec77eef0a18ecf8b93822e6edd4
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