summaryrefslogtreecommitdiff
path: root/sound/soc/msm/msm8226.c
diff options
context:
space:
mode:
authorPhani Kumar Uppalapati <phaniu@codeaurora.org>2013-05-21 23:09:13 -0700
committerStephen Boyd <sboyd@codeaurora.org>2013-09-04 16:43:34 -0700
commitc095ed667efad939cefa200426fa15cad33bfb07 (patch)
tree1f79ff7cfa1ee3b27c7ce0a261b76edabc8bce8b /sound/soc/msm/msm8226.c
parentbc3d164d5e076ed1282237538a5aa711b8d1c9d4 (diff)
ASoC: msm: Update headset detection threshold for 2.7 V mic bias
When mic bias is 2.7 Volts, typical microphone voltage for any headset will be in the order of 2 volts, so increase the v_hs_max threshold to 2.45 Volts to detect the headset. Change-Id: Ic277145fd3e060663b0f843d3c2ff493b1c87e82 Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Diffstat (limited to 'sound/soc/msm/msm8226.c')
-rw-r--r--sound/soc/msm/msm8226.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/msm/msm8226.c b/sound/soc/msm/msm8226.c
index 7c55b05105fa..aee1a647751e 100644
--- a/sound/soc/msm/msm8226.c
+++ b/sound/soc/msm/msm8226.c
@@ -638,7 +638,7 @@ void *def_tapan_mbhc_cal(void)
#undef S
#define S(X, Y) ((WCD9XXX_MBHC_CAL_PLUG_TYPE_PTR(tapan_cal)->X) = (Y))
S(v_no_mic, 30);
- S(v_hs_max, 1650);
+ S(v_hs_max, 2450);
#undef S
#define S(X, Y) ((WCD9XXX_MBHC_CAL_BTN_DET_PTR(tapan_cal)->X) = (Y))
S(c[0], 62);