mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
parent
4f42ed04c4
commit
aecce31ce8
1 changed files with 0 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue