From: Takashi Iwai Date: Sun, 21 Oct 2012 08:53:14 +0000 (+0200) Subject: ALSA: aloop - Close races at restarting the stream X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=999fc9f6aa37bac18f82d5ed25fa920a0dd93218;p=pandora-kernel.git ALSA: aloop - Close races at restarting the stream There are small races opened in the check of running bit and the timer lock. Instead of adding yet more flag, just protect the whole racy codes with the existing cable->lock. As a bonus, we can get rid of timer_lock now. Reported-and-tested-by: Omair Mohammed Abdullah Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed