asoc: lpass-cdc-rx-macro: DRE return for SWR PCM and PDM data transport cases
DRE is not disabled properly on targets where kcontrols are not exposed. Add separate check for both SWR PCM and PDM data transport cases to avoid having dependency on kcontrol. Change-Id: Ifbd9aaa8213540c9cc19690ef70b30336580116a Signed-off-by: Ravulapati Vishnu Vardhan Rao <quic_visr@quicinc.com>
This commit is contained in:
@@ -1890,7 +1890,9 @@ static int lpass_cdc_rx_macro_config_compander(struct snd_soc_component *compone
|
||||
return 0;
|
||||
|
||||
comp = interp_n;
|
||||
if (!rx_priv->comp_enabled[comp] && rx_priv->is_pcm_enabled)
|
||||
if (!rx_priv->comp_enabled[comp])
|
||||
return 0;
|
||||
if (rx_priv->is_pcm_enabled)
|
||||
return 0;
|
||||
|
||||
if (rx_priv->is_ear_mode_on && interp_n == INTERP_HPHL)
|
||||
|
Reference in New Issue
Block a user