From: Takashi Iwai Date: Fri, 12 Oct 2012 13:07:34 +0000 (+0200) Subject: ALSA: PCM: Fix some races at disconnection X-Git-Tag: v3.2.34~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=700949d473671e3b20434d5a4cde71a04db88787;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed