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>
Dieser Commit ist enthalten in:
Vatsal Bucha
2020-04-21 14:16:51 +05:30
committet von Gerrit - the friendly Code Review server
Ursprung e7efdae360
Commit ec8b554e4d

Datei anzeigen

@@ -1930,7 +1930,12 @@ static int rx_macro_config_classh(struct snd_soc_component *component,
0x40, 0x40);
break;
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,
0x3F, 0x1C);
snd_soc_component_update_bits(component,