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

Commit f52c5865 authored by Yeleswarapu Nagaradhesh's avatar Yeleswarapu Nagaradhesh 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: I934785123413d81ac6d0511ece186d15d18fa752
Signed-off-by: default avatarYeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
parent 4a0b6988
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -156,10 +156,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;
}