diff options
author | supercurio <supercurio@gmail.com> | 2011-11-23 22:26:41 +0100 |
---|---|---|
committer | KalimochoAz <calimochoazucarado@gmail.com> | 2011-12-19 12:15:15 +0100 |
commit | dbaf5858c22315a61fc4cd9c02fe5c1a55295231 (patch) | |
tree | 90035c46549c0f4be2de65c642f79b723f80ee00 /sound/soc/codecs/wm8994_herring.c | |
parent | b29527f97c21f5e3d1085d6758855059ed915491 (diff) | |
download | kernel_samsung_crespo-dbaf5858c22315a61fc4cd9c02fe5c1a55295231.zip kernel_samsung_crespo-dbaf5858c22315a61fc4cd9c02fe5c1a55295231.tar.gz kernel_samsung_crespo-dbaf5858c22315a61fc4cd9c02fe5c1a55295231.tar.bz2 |
Voodoo sound: update to driver v5
- New speaker tuning mode for music using different
hardware EQ settings than stock ones
- Microphone presets now supported on Nexus S.
- Microphone presets balanced and loud reworked
with lower background noise and higher dynamic range
for balanced: -2dB noise, +6dB dynamic range.
- New DAC direct option: reduces distortion and improves
SNR by a small margin (bypass usless analog channel mixer)
- Anti-jitter mode on by default.
- Same exact source is now used on each device supported
(still: only useful code is compiled in via ifdefs)
- ability to fully disable/re-enable the driver and
its sysfs interface: 0 or 1 in
/sys/class/misc/voodoo_sound_control/enable
- refactored source code
Diffstat (limited to 'sound/soc/codecs/wm8994_herring.c')
-rwxr-xr-x | sound/soc/codecs/wm8994_herring.c | 6 |
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 | |