[ALSA] aoa: add locking to tas codec
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 17 Sep 2006 19:59:25 +0000 (21:59 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:47:06 +0000 (10:47 +0200)
commit307192065c55dbc70159037c1e3006a9f761192b
tree462ed687281672986f54af5ac1d7abc2f2b8c999
parent43001c9515cf87935c50e84b3e27b1f3b3776b5d
[ALSA] aoa: add locking to tas codec

Looks like I completely forgot to do this. This patch adds locking to
the tas codec so two userspace programs can't hit the controls at the
same time. Tested on my powerbook, but I obviously can't find any
problems even without it since it doesn't do SMP.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/aoa/codecs/snd-aoa-codec-tas.c