aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/echoaudio/echoaudio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-12-03 17:08:40 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:31 +0100
commitbefceea90b17792cb03cc4e22f3329c89621bba3 (patch)
tree792c6ceb965e9c522d0847a1d2d53d48aed7fc4d /sound/pci/echoaudio/echoaudio.h
parente3cde64af44624030e7635881a5d1932c353a335 (diff)
[ALSA] echoaudio - convert from semaphore to mutex
Converted from semaphore to mutex. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/echoaudio/echoaudio.h')
-rw-r--r--sound/pci/echoaudio/echoaudio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/echoaudio/echoaudio.h b/sound/pci/echoaudio/echoaudio.h
index 7e88c968e22..1c88e051abf 100644
--- a/sound/pci/echoaudio/echoaudio.h
+++ b/sound/pci/echoaudio/echoaudio.h
@@ -361,7 +361,7 @@ struct echoaudio {
spinlock_t lock;
struct snd_pcm_substream *substream[DSP_MAXPIPES];
int last_period[DSP_MAXPIPES];
- struct semaphore mode_mutex;
+ struct mutex mode_mutex;
u16 num_digital_modes, digital_mode_list[6];
u16 num_clock_sources, clock_source_list[10];
atomic_t opencount;