aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMinsong Kim <ms17.kim@samsung.com>2010-11-11 19:18:11 -0800
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:52:16 -0800
commitb3e13d86545820c94e0a9af3c2611c70c0c32ff3 (patch)
tree68354fb500d159dfd507c37ee30528c216c188fa /sound
parentab0e54b16ac9f6a19ebd68420ca3f3e0c2f8ddf2 (diff)
downloadkernel_samsung_crespo-b3e13d86545820c94e0a9af3c2611c70c0c32ff3.zip
kernel_samsung_crespo-b3e13d86545820c94e0a9af3c2611c70c0c32ff3.tar.gz
kernel_samsung_crespo-b3e13d86545820c94e0a9af3c2611c70c0c32ff3.tar.bz2
S5PC11X: SOUND: Update 3-pole headset gain in voicecall
<Bug Fix> This is requested by Samsung HW team. IN1L_VOL(18h, HP_NO_MIC) = -9dB When we test voice call with 3-pole headset, we use main mic. So mic gain must be same with speaker call mode. Change-Id: Ica9828e74eb69c68c9783d68b70bcc0793763aaf Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
Diffstat (limited to 'sound')
-rwxr-xr-xsound/soc/codecs/wm8994_herring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8994_herring.c b/sound/soc/codecs/wm8994_herring.c
index 65ddcca..676fa07 100755
--- a/sound/soc/codecs/wm8994_herring.c
+++ b/sound/soc/codecs/wm8994_herring.c
@@ -383,7 +383,7 @@ struct gain_info_t voicecall_gain_table[VOICECALL_GAIN_NUM] = {
.mode = VOICECALL_HP_NO_MIC,
.reg = WM8994_LEFT_LINE_INPUT_1_2_VOLUME, /* 18h */
.mask = WM8994_IN1L_VOL_MASK,
- .gain = WM8994_IN1L_VU | 0x18
+ .gain = WM8994_IN1L_VU | 0x12 /* +10.5dB */
}, {
.mode = VOICECALL_HP_NO_MIC,
.reg = WM8994_INPUT_MIXER_3, /* 29h */
@@ -593,7 +593,7 @@ struct gain_info_t gain_code_table[GAIN_CODE_NUM] = {
.mode = VOICECALL_HP_NO_MIC | VOICECALL_MODE | GAIN_DIVISION_BIT,
.reg = WM8994_LEFT_LINE_INPUT_1_2_VOLUME, /* 18h */
.mask = WM8994_IN1L_VOL_MASK,
- .gain = WM8994_IN1L_VU | 0x18
+ .gain = WM8994_IN1L_VU | 0x12 /* +10.5dB */
}, {
.mode = VOICECALL_HP_NO_MIC | VOICECALL_MODE | GAIN_DIVISION_BIT,
.reg = WM8994_LEFT_OUTPUT_VOLUME, /* 1Ch */