diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-11-07 12:39:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-17 13:14:22 -0800 |
commit | 61bc2855cf2e28f7ef3928c04453daa07dfffd9b (patch) | |
tree | 279016d1e07b24d3681285315cef2f3acf0d8ce7 /sound/usb/mixer.c | |
parent | ec1f5bf6b3a9f42284371d41a7c998c05c49abcb (diff) |
ALSA: PCM: Fix some races at disconnection
commit 9b0573c07f278e9888c352aa9724035c75784ea0 upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb/mixer.c')
0 files changed, 0 insertions, 0 deletions