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

Commit edaef8a6 authored by Santosh Mardi's avatar Santosh Mardi Committed by Yeleswarapu Nagaradhesh
Browse files

ASoC: wcd: enable impedance detection.



Headsets with different impedance available in market.
Based on the impedance detected in the codec
codec configurations will change, to reduce POP's.

Change-Id: Ie3679c96e558ce44226b53cc6b6252664d7579b4
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent e71270b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2796,7 +2796,7 @@ static int msm8x16_wcd_codec_probe(struct snd_soc_codec *codec)
				on_demand_supply_name[ON_DEMAND_MICBIAS]);
	atomic_set(&msm8x16_wcd_priv->on_demand_list[ON_DEMAND_MICBIAS].ref, 0);

	wcd_mbhc_init(&msm8x16_wcd_priv->mbhc, codec, &intr_ids, false);
	wcd_mbhc_init(&msm8x16_wcd_priv->mbhc, codec, &intr_ids, true);

	msm8x16_wcd_priv->mclk_enabled = false;
	msm8x16_wcd_priv->clock_active = false;