ASoC: msm: 8x10: Adjust button range for button 7
With very fast press of button 7, it is found that
the measured voltage falls few mv below the lower
threshold. Adjust the threshold to detect the button
press.
Change-Id: I2d23607df9b3b7e993da214961f25fbadcffd60c
CRs-Fixed: 611825
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
diff --git a/sound/soc/msm/msm8x10.c b/sound/soc/msm/msm8x10.c
index 7b3a028..fe44a23 100644
--- a/sound/soc/msm/msm8x10.c
+++ b/sound/soc/msm/msm8x10.c
@@ -624,8 +624,8 @@
btn_low[5] = 190;
btn_high[5] = 228;
btn_low[6] = 229;
- btn_high[6] = 269;
- btn_low[7] = 270;
+ btn_high[6] = 264;
+ btn_low[7] = 265;
btn_high[7] = 500;
n_ready = wcd9xxx_mbhc_cal_btn_det_mp(btn_cfg, MBHC_BTN_DET_N_READY);
n_ready[0] = 80;