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: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
This commit is contained in:
Yeleswarapu Nagaradhesh 2015-09-16 14:19:16 +05:30 committed by Gerrit - the friendly Code Review server
parent 6715962db9
commit 289b2f3852

View file

@ -184,10 +184,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;
}