mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
ASoC: wcd: update sequence for impedance detection
Update register sequence for impedance detection to work on cajon and for backward compatibility with previous targets. Change-Id: I86831be2c36532ce4ac8f8344587309d7ebfb1ac Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
This commit is contained in:
parent
cd86617027
commit
154e489545
1 changed files with 2 additions and 2 deletions
|
@ -524,13 +524,13 @@ static void msm8x16_wcd_mbhc_calc_impedance(struct wcd_mbhc *mbhc, uint32_t *zl,
|
|||
reg3 = snd_soc_read(codec, MSM8X16_WCD_A_ANALOG_MICB_2_EN);
|
||||
reg4 = snd_soc_read(codec, MSM8X16_WCD_A_ANALOG_MBHC_FSM_CTL);
|
||||
|
||||
/* disable FSM and micbias*/
|
||||
/* disable FSM and micbias and enable pullup*/
|
||||
snd_soc_update_bits(codec,
|
||||
MSM8X16_WCD_A_ANALOG_MBHC_FSM_CTL,
|
||||
0x80, 0x00);
|
||||
snd_soc_update_bits(codec,
|
||||
MSM8X16_WCD_A_ANALOG_MICB_2_EN,
|
||||
0x80, 0x00);
|
||||
0xA5, 0x25);
|
||||
/*
|
||||
* Enable legacy electrical detection current sources
|
||||
* and disable fast ramp and enable manual switching
|
||||
|
|
Loading…
Reference in a new issue