ASoC: bolero: Add check for CMPDR switch

Do not disable CMPDR for EAR if ear mode is on
as it can lead to mute issues on ear.

Change-Id: Ibf54fe6f14c5f08c2004fae36204398109ad53c1
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
This commit is contained in:
Soumya Managoli 2023-10-30 16:40:06 +05:30
commit 5f2bfaae5b

View file

@ -2691,7 +2691,8 @@ static void rx_macro_hphdelay_lutbypass(struct snd_soc_component *component,
}
if (hph_lut_bypass_reg && SND_SOC_DAPM_EVENT_OFF(event)) {
snd_soc_component_update_bits(component,
if (!rx_priv->is_ear_mode_on)
snd_soc_component_update_bits(component,
BOLERO_CDC_RX_RX0_RX_PATH_CFG1,
0x02, 0x00);
snd_soc_component_update_bits(component, hph_lut_bypass_reg,