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

Commit 44cd5574 authored by Sudheer Papothi's avatar Sudheer Papothi
Browse files

ASoC: wcd9330: Change headphone CnP settings



Modify CnP(Click and Pop) wave generator register values of
headphone to avoid CnP on headphone device path.

Change-Id: I02418570998acffa1b15c78317a51c600a04c269
Signed-off-by: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent 9af30669
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -897,8 +897,8 @@ static int tomtom_set_compander(struct snd_kcontrol *kcontrol,
	if (comp == COMPANDER_1 &&
			tomtom->comp_enabled[comp] == 1) {
		/* Wavegen to 5 msec */
		snd_soc_write(codec, TOMTOM_A_RX_HPH_CNP_WG_CTL, 0xDA);
		snd_soc_write(codec, TOMTOM_A_RX_HPH_CNP_WG_TIME, 0x15);
		snd_soc_write(codec, TOMTOM_A_RX_HPH_CNP_WG_CTL, 0xDB);
		snd_soc_write(codec, TOMTOM_A_RX_HPH_CNP_WG_TIME, 0x2A);
		snd_soc_write(codec, TOMTOM_A_RX_HPH_BIAS_WG_OCP, 0x2A);

		/* Enable Chopper */