ALSA: snd-aloop - fix locking issues (running flag updates)
authorJaroslav Kysela <perex@perex.cz>
Wed, 20 Oct 2010 06:27:02 +0000 (08:27 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 20 Oct 2010 07:35:38 +0000 (09:35 +0200)
commitdd04bb12d047a4d4461772093472a40dbe171e5f
treeebbd1b742531f1a2033f11ee838f8d1ed62278be
parente74670b6fdc37b15ebee11825849d8983e52a74a
ALSA: snd-aloop - fix locking issues (running flag updates)

On SMP machines, the cable->running update must be atomic, otherwise
stream is not started correctly sometimes.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/drivers/aloop.c