Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e92c0dc8 authored by Soumya Managoli's avatar Soumya Managoli
Browse files

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: default avatarSoumya Managoli <quic_c_smanag@quicinc.com>
parent 928fe636
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2590,6 +2590,7 @@ static void rx_macro_hphdelay_lutbypass(struct snd_soc_component *component,
	}

	if (hph_lut_bypass_reg && SND_SOC_DAPM_EVENT_OFF(event)) {
		if (!rx_priv->is_ear_mode_on)
			snd_soc_component_update_bits(component,
					BOLERO_CDC_RX_RX0_RX_PATH_CFG1,
					0x02, 0x00);