[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:

committed by
Jaroslav Kysela

parent
1a60d4c5a0
commit
ef9f0a42db
@@ -53,6 +53,7 @@
|
||||
|
||||
#include "driver.h"
|
||||
#include <linux/time.h>
|
||||
#include <linux/mutex.h>
|
||||
#include "core.h"
|
||||
#include "hwdep.h"
|
||||
#include "timer.h"
|
||||
@@ -312,7 +313,7 @@ struct snd_opl3 {
|
||||
int sys_timer_status; /* system timer run status */
|
||||
spinlock_t sys_timer_lock; /* Lock for system timer access */
|
||||
#endif
|
||||
struct semaphore access_mutex; /* locking */
|
||||
struct mutex access_mutex; /* locking */
|
||||
};
|
||||
|
||||
/* opl3.c */
|
||||
|
Reference in New Issue
Block a user