aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/pxa')
-rw-r--r--sound/soc/pxa/spitz.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/sound/soc/pxa/spitz.c b/sound/soc/pxa/spitz.c
index acfa712844e2..b89a3edd2183 100644
--- a/sound/soc/pxa/spitz.c
+++ b/sound/soc/pxa/spitz.c
@@ -28,7 +28,6 @@
28#include <asm/mach-types.h> 28#include <asm/mach-types.h>
29#include <mach/pxa-regs.h> 29#include <mach/pxa-regs.h>
30#include <mach/hardware.h> 30#include <mach/hardware.h>
31#include <mach/akita.h>
32#include <mach/spitz.h> 31#include <mach/spitz.h>
33#include "../codecs/wm8750.h" 32#include "../codecs/wm8750.h"
34#include "pxa2xx-pcm.h" 33#include "pxa2xx-pcm.h"
@@ -219,14 +218,10 @@ static int spitz_mic_bias(struct snd_soc_dapm_widget *w,
219 gpio_set_value(SPITZ_GPIO_MIC_BIAS, 218 gpio_set_value(SPITZ_GPIO_MIC_BIAS,
220 SND_SOC_DAPM_EVENT_ON(event)); 219 SND_SOC_DAPM_EVENT_ON(event));
221 220
222 if (machine_is_akita()) { 221 if (machine_is_akita())
223 if (SND_SOC_DAPM_EVENT_ON(event)) 222 gpio_set_value(AKITA_GPIO_MIC_BIAS,
224 akita_set_ioexp(&akitaioexp_device.dev, 223 SND_SOC_DAPM_EVENT_ON(event));
225 AKITA_IOEXP_MIC_BIAS); 224
226 else
227 akita_reset_ioexp(&akitaioexp_device.dev,
228 AKITA_IOEXP_MIC_BIAS);
229 }
230 return 0; 225 return 0;
231} 226}
232 227