[ALSA] semaphore -> mutex (PCI 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>
This commit is contained in:

committad av
Jaroslav Kysela

förälder
8b7547f95c
incheckning
62932df8fb
@@ -55,6 +55,7 @@
|
||||
#include <linux/pci.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/moduleparam.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <sound/core.h>
|
||||
#include <sound/cs8427.h>
|
||||
#include <sound/info.h>
|
||||
@@ -2557,9 +2558,9 @@ static int __devinit snd_ice1712_create(struct snd_card *card,
|
||||
cs8427_timeout = 1000;
|
||||
ice->cs8427_timeout = cs8427_timeout;
|
||||
spin_lock_init(&ice->reg_lock);
|
||||
init_MUTEX(&ice->gpio_mutex);
|
||||
init_MUTEX(&ice->i2c_mutex);
|
||||
init_MUTEX(&ice->open_mutex);
|
||||
mutex_init(&ice->gpio_mutex);
|
||||
mutex_init(&ice->i2c_mutex);
|
||||
mutex_init(&ice->open_mutex);
|
||||
ice->gpio.set_mask = snd_ice1712_set_gpio_mask;
|
||||
ice->gpio.set_dir = snd_ice1712_set_gpio_dir;
|
||||
ice->gpio.set_data = snd_ice1712_set_gpio_data;
|
||||
|
Referens i nytt ärende
Block a user