• Takashi Iwai's avatar
    ALSA: seq-oss: Initialize MIDI clients asynchronously · 256ca9c3
    Takashi Iwai authored
    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: default avatarPhilipp Matthias Hahn <pmhahn@pmhahn.de>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    256ca9c3
seq_oss_init.c 12.3 KB