aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorUK KIM <w0806.kim@samsung.com>2010-10-27 12:11:30 -0700
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:51:54 -0800
commit1020793cf708c38d9dc5328896aebb4f63369e11 (patch)
tree9518562ca57c37cee574c2c12384c1ea9f8c9001 /sound
parent982c2999885e1ce9c3b0e22ae02f04281ed9354f (diff)
downloadkernel_samsung_crespo-1020793cf708c38d9dc5328896aebb4f63369e11.zip
kernel_samsung_crespo-1020793cf708c38d9dc5328896aebb4f63369e11.tar.gz
kernel_samsung_crespo-1020793cf708c38d9dc5328896aebb4f63369e11.tar.bz2
S5PC11X: SOUND: update codec gain values in voicecall mode
For EUR binary. 1. SPEAKER OUTL vol(26h) : +1dB 2. HPOUT1L/R vol(1Ch, 1Dh) : -2dB Change-Id: Ie535fda5667f5ad99cdeeb43028bcd85c6a09474 Signed-off-by: UK KIM <w0806.kim@samsung.com>
Diffstat (limited to 'sound')
-rwxr-xr-x[-rw-r--r--]sound/soc/codecs/wm8994_herring.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/codecs/wm8994_herring.c b/sound/soc/codecs/wm8994_herring.c
index ee025cd..1df6abf 100644..100755
--- a/sound/soc/codecs/wm8994_herring.c
+++ b/sound/soc/codecs/wm8994_herring.c
@@ -492,7 +492,7 @@ struct gain_info_t gain_code_table[VOICECALL_GAIN_NUM] = {
.mode = VOICECALL_SPK | GAIN_DIVISION_BIT,
.reg = WM8994_SPEAKER_VOLUME_LEFT, /* 26h */
.mask = WM8994_SPKOUTL_VOL_MASK,
- .gain = WM8994_SPKOUT_VU | 0x37
+ .gain = WM8994_SPKOUT_VU | 0x3A /* +1dB */
}, {/* HP */
.mode = VOICECALL_HP | GAIN_DIVISION_BIT,
.reg = WM8994_RIGHT_LINE_INPUT_1_2_VOLUME, /* 1Ah */
@@ -502,12 +502,12 @@ struct gain_info_t gain_code_table[VOICECALL_GAIN_NUM] = {
.mode = VOICECALL_HP | GAIN_DIVISION_BIT,
.reg = WM8994_LEFT_OUTPUT_VOLUME, /* 1Ch */
.mask = WM8994_HPOUT1L_VOL_MASK,
- .gain = WM8994_HPOUT1_VU | 0x33
+ .gain = WM8994_HPOUT1_VU | 0x37 /* -2dB */
}, {
.mode = VOICECALL_HP | GAIN_DIVISION_BIT,
.reg = WM8994_RIGHT_OUTPUT_VOLUME, /* 1Dh */
.mask = WM8994_HPOUT1R_VOL_MASK,
- .gain = WM8994_HPOUT1_VU | 0x33
+ .gain = WM8994_HPOUT1_VU | 0x37 /* -2dB */
}, {/* HP_NO_MIC */
.mode = VOICECALL_HP_NO_MIC | GAIN_DIVISION_BIT,
.reg = WM8994_LEFT_LINE_INPUT_1_2_VOLUME, /* 18h */
@@ -517,12 +517,12 @@ struct gain_info_t gain_code_table[VOICECALL_GAIN_NUM] = {
.mode = VOICECALL_HP_NO_MIC | GAIN_DIVISION_BIT,
.reg = WM8994_LEFT_OUTPUT_VOLUME, /* 1Ch */
.mask = WM8994_HPOUT1L_VOL_MASK,
- .gain = WM8994_HPOUT1_VU | 0x33
+ .gain = WM8994_HPOUT1_VU | 0x37 /* -2dB */
}, {
.mode = VOICECALL_HP_NO_MIC | GAIN_DIVISION_BIT,
.reg = WM8994_RIGHT_OUTPUT_VOLUME, /* 1Dh */
.mask = WM8994_HPOUT1R_VOL_MASK,
- .gain = WM8994_HPOUT1_VU | 0x33
+ .gain = WM8994_HPOUT1_VU | 0x37 /* -2dB */
},
};