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

Commit aecce31c authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

ASoC: wcd938x: Disable hph OCP on traverso



OCP is resulting in mute issues during audio playback.
Traverso has surge protection enabled in hw. Thus
OCP can be disabled for traverso.

Change-Id: I5af745e9c1fb41640317a406adff59bcde81c37e
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 4f42ed04
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -146,14 +146,6 @@ static int wcd938x_init_reg(struct snd_soc_component *component)
	/* 10 msec delay as per HW requirement */
	usleep_range(10000, 10010);
	snd_soc_component_update_bits(component, WCD938X_ANA_BIAS, 0x40, 0x00);
	snd_soc_component_update_bits(component, WCD938X_HPH_OCP_CTL,
								0xFF, 0x3A);
	snd_soc_component_update_bits(component, WCD938X_RX_OCP_CTL,
								0x0F, 0x02);
	snd_soc_component_update_bits(component, WCD938X_HPH_R_TEST,
								0x01, 0x01);
	snd_soc_component_update_bits(component, WCD938X_HPH_L_TEST,
								0x01, 0x01);
	snd_soc_component_update_bits(component,
				      WCD938X_HPH_NEW_INT_RDAC_GAIN_CTL,
				      0xF0, 0x00);