Commit 401066e1 authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

ARM: OMAP: Convert OSS aic23 to mutex.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent dd6b1f1b
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <linux/sound.h> #include <linux/sound.h>
#include <linux/soundcard.h> #include <linux/soundcard.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/mutex.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/hardware.h> #include <asm/hardware.h>
...@@ -243,7 +244,7 @@ static audio_state_t aic23_state = { ...@@ -243,7 +244,7 @@ static audio_state_t aic23_state = {
.hw_remove = __exit_p(omap_aic23_remove), .hw_remove = __exit_p(omap_aic23_remove),
.hw_suspend = omap_aic23_suspend, .hw_suspend = omap_aic23_suspend,
.hw_resume = omap_aic23_resume, .hw_resume = omap_aic23_resume,
.sem = __SEMAPHORE_INIT(aic23_state.sem, 1), .mutex = __MUTEX_INITIALIZER(aic23_state.mutex),
}; };
/* This will be defined in the audio.h */ /* This will be defined in the audio.h */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment