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

Commit 8c86d2f8 authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: Program button high thresholds correctly



Program button 4,5,6 and 7 thresholds correctly
so as to avoid unnecessary button press interrupts
when mic impedance is low enough to cause mic
voltage greater than 500mV.

Change-Id: I330ce0c9d7462e18eb81bd231f70e2aedf346c8c
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 279ce12c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1772,10 +1772,10 @@ static void *def_tasha_mbhc_cal(void)
	btn_high[1] = 150;
	btn_high[2] = 237;
	btn_high[3] = 450;
	btn_high[4] = 500;
	btn_high[5] = 590;
	btn_high[6] = 675;
	btn_high[7] = 780;
	btn_high[4] = 450;
	btn_high[5] = 450;
	btn_high[6] = 450;
	btn_high[7] = 450;

	return tasha_wcd_cal;
}