Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b19db449 authored by Simmi Pateriya's avatar Simmi Pateriya
Browse files

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: default avatarSimmi Pateriya <simmip@codeaurora.org>
parent 8e5d905c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -621,8 +621,8 @@ static void *def_msm8x10_wcd_mbhc_cal(void)
	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;