diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-01-16 10:33:08 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-22 04:25:03 -0500 |
commit | 8b7547f95cbe8a5940df62ed730646fdfcba5fda (patch) | |
tree | 704102a2b9eaef96cf8b96c46e9e48855de64ea3 /sound/isa/gus/gus_main.c | |
parent | ef9f0a42db987e7e2df72289fb4522d24027786b (diff) |
[ALSA] semaphore -> mutex (ISA part)
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/gus/gus_main.c')
-rw-r--r-- | sound/isa/gus/gus_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/gus/gus_main.c b/sound/isa/gus/gus_main.c index 6d15b3d18a87..53eeaf37007d 100644 --- a/sound/isa/gus/gus_main.c +++ b/sound/isa/gus/gus_main.c | |||
@@ -225,7 +225,7 @@ int snd_gus_create(struct snd_card *card, | |||
225 | spin_lock_init(&gus->dma_lock); | 225 | spin_lock_init(&gus->dma_lock); |
226 | spin_lock_init(&gus->pcm_volume_level_lock); | 226 | spin_lock_init(&gus->pcm_volume_level_lock); |
227 | spin_lock_init(&gus->uart_cmd_lock); | 227 | spin_lock_init(&gus->uart_cmd_lock); |
228 | init_MUTEX(&gus->dma_mutex); | 228 | mutex_init(&gus->dma_mutex); |
229 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, gus, &ops)) < 0) { | 229 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, gus, &ops)) < 0) { |
230 | snd_gus_free(gus); | 230 | snd_gus_free(gus); |
231 | return err; | 231 | return err; |