ALSA: PCM: Fix some races at disconnection
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 Oct 2012 13:07:34 +0000 (15:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Oct 2012 10:06:48 +0000 (11:06 +0100)
Fix races at PCM disconnection:
- while a PCM device is being opened or closed
- while the PCM state is being changed without lock in prepare,
  hw_params, hw_free ops

Reported-by: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found