summaryrefslogtreecommitdiff
path: root/sound/drivers/mtpav.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-10-21 08:53:14 (GMT)
committerTakashi Iwai <tiwai@suse.de>2012-10-21 08:53:14 (GMT)
commit999fc9f6aa37bac18f82d5ed25fa920a0dd93218 (patch)
treed89070175331a427142d15da6a0d2266e9f2e69f /sound/drivers/mtpav.c
parent950f40fdd4732e5161e244812cbd9557c4e1d86c (diff)
downloadlinux-fsl-qoriq-999fc9f6aa37bac18f82d5ed25fa920a0dd93218.tar.xz
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 <omair.m.abdullah@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/mtpav.c')
0 files changed, 0 insertions, 0 deletions