bolero: rx-macro: Resolve noise on ear path during hph ear concurrency

There is noise on ear path during hph and ear concurrency.
Set proper HPH_V_PA voltage when both hph PA is in
class-H mode to resolve noise.

Change-Id: Ifbbfb5691687dcb2202358c1e387252954d58db2
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
Vatsal Bucha
2020-04-21 14:16:51 +05:30
committed by Gerrit - the friendly Code Review server
parent e7efdae360
commit ec8b554e4d

View File

@@ -1930,7 +1930,12 @@ static int rx_macro_config_classh(struct snd_soc_component *component,
0x40, 0x40); 0x40, 0x40);
break; break;
case INTERP_HPHR: case INTERP_HPHR:
snd_soc_component_update_bits(component, if (rx_priv->is_ear_mode_on)
snd_soc_component_update_bits(component,
BOLERO_CDC_RX_CLSH_HPH_V_PA,
0x3F, 0x39);
else
snd_soc_component_update_bits(component,
BOLERO_CDC_RX_CLSH_HPH_V_PA, BOLERO_CDC_RX_CLSH_HPH_V_PA,
0x3F, 0x1C); 0x3F, 0x1C);
snd_soc_component_update_bits(component, snd_soc_component_update_bits(component,