mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
ASoC: wcd937x: Update register value for new fab id for tanggu
Improve HPH ULP mode SNDR stability for new tanggu fab id. Change-Id: I13594dbd311bbeab115753e0bec1a748158f8100 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
parent
0902933010
commit
7ebd720130
1 changed files with 4 additions and 6 deletions
|
|
@ -178,12 +178,6 @@ static int wcd937x_init_reg(struct snd_soc_component *component)
|
|||
0xFF, 0xFA);
|
||||
snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_1,
|
||||
0xFF, 0xFA);
|
||||
snd_soc_component_update_bits(component, WCD937X_MICB1_TEST_CTL_2,
|
||||
0x38, 0x00);
|
||||
snd_soc_component_update_bits(component, WCD937X_MICB2_TEST_CTL_2,
|
||||
0x38, 0x00);
|
||||
snd_soc_component_update_bits(component, WCD937X_MICB3_TEST_CTL_2,
|
||||
0x38, 0x00);
|
||||
/* Set Bandgap Fine Adjustment to +5mV for Tanggu SMIC part */
|
||||
if (snd_soc_component_read32(component, WCD937X_DIGITAL_EFUSE_REG_16)
|
||||
== 0x01) {
|
||||
|
|
@ -195,6 +189,10 @@ static int wcd937x_init_reg(struct snd_soc_component *component)
|
|||
WCD937X_HPH_NEW_INT_RDAC_HD2_CTL_L, 0x1F, 0x04);
|
||||
snd_soc_component_update_bits(component,
|
||||
WCD937X_HPH_NEW_INT_RDAC_HD2_CTL_R, 0x1F, 0x04);
|
||||
snd_soc_component_update_bits(component,
|
||||
WCD937X_BIAS_VBG_FINE_ADJ, 0xF0, 0xB0);
|
||||
snd_soc_component_update_bits(component,
|
||||
WCD937X_RX_BIAS_HPH_LOWPOWER, 0xF0, 0x90);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue