aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994_herring.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8994_herring.c')
-rwxr-xr-xsound/soc/codecs/wm8994_herring.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994_herring.c b/sound/soc/codecs/wm8994_herring.c
index c5bbdf2..28e2320 100755
--- a/sound/soc/codecs/wm8994_herring.c
+++ b/sound/soc/codecs/wm8994_herring.c
@@ -21,7 +21,9 @@
#include <mach/regs-clock.h>
#include "wm8994_samsung.h"
#include "../../../arch/arm/mach-s5pv210/herring.h"
+#ifdef CONFIG_SND_VOODOO
#include "wm8994_voodoo.h"
+#endif
/*
* Debug Feature
@@ -2168,6 +2170,10 @@ void wm8994_set_playback_speaker(struct snd_soc_codec *codec)
val |= WM8994_AIF1DAC1L_TO_DAC1L;
wm8994_write(codec, WM8994_DAC1_LEFT_MIXER_ROUTING, val);
+#ifdef CONFIG_SND_VOODOO
+ voodoo_hook_playback_speaker();
+#endif
+
/* Enbale bias,vmid and Left speaker */
val = wm8994_read(codec, WM8994_POWER_MANAGEMENT_1);
val &= ~(WM8994_BIAS_ENA_MASK | WM8994_VMID_SEL_MASK |