[ALSA] semaphore -> mutex (core 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:
committed by
Jaroslav Kysela
parent
f0283f45a0
commit
1a60d4c5a0
@@ -145,7 +145,7 @@ struct snd_card *snd_card_new(int idx, const char *xid,
|
||||
init_waitqueue_head(&card->shutdown_sleep);
|
||||
INIT_WORK(&card->free_workq, snd_card_free_thread, card);
|
||||
#ifdef CONFIG_PM
|
||||
init_MUTEX(&card->power_lock);
|
||||
mutex_init(&card->power_lock);
|
||||
init_waitqueue_head(&card->power_sleep);
|
||||
#endif
|
||||
/* the control interface cannot be accessed from the user space until */
|
||||
|
Reference in New Issue
Block a user