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

Commit 880bb1b7 authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati
Browse files

ASoC: wcd9335: Update pull-up current on HSDET_L/G



Update pull-up current to 2uA on headset detect
for both left and ground (HSDET_L and HSDET_G) for
better click and pop during headset insertion/removal.

Change-Id: Ide3a1959871ab95b3eef1810d37935355ec62876
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 20a5b840
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -737,12 +737,8 @@ static bool tasha_mbhc_hph_pa_on_status(struct snd_soc_codec *codec)
static void tasha_mbhc_hph_l_pull_up_control(struct snd_soc_codec *codec,
					     bool is_insert)
{
	if (is_insert)
	snd_soc_update_bits(codec, WCD9335_MBHC_PLUG_DETECT_CTL,
			    0xC0, 0x40);
	else
		snd_soc_update_bits(codec, WCD9335_MBHC_PLUG_DETECT_CTL,
				    0xC0, 0xC0);
}

static int tasha_micbias_control(struct snd_soc_codec *codec,