[ALSA] semaphore -> mutex (driver 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:

committato da
Jaroslav Kysela

parent
1a60d4c5a0
commit
ef9f0a42db
@@ -88,7 +88,7 @@ int snd_i2c_bus_create(struct snd_card *card, const char *name,
|
||||
bus = kzalloc(sizeof(*bus), GFP_KERNEL);
|
||||
if (bus == NULL)
|
||||
return -ENOMEM;
|
||||
init_MUTEX(&bus->lock_mutex);
|
||||
mutex_init(&bus->lock_mutex);
|
||||
INIT_LIST_HEAD(&bus->devices);
|
||||
INIT_LIST_HEAD(&bus->buses);
|
||||
bus->card = card;
|
||||
|
Fai riferimento in un nuovo problema
Block a user