Merge "lpass-cdc: rx-macro: AUX path has no compander support"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
ccc1bcc38e
@@ -1845,6 +1845,10 @@ static int lpass_cdc_rx_macro_config_compander(struct snd_soc_component *compone
|
|||||||
u16 comp_coeff_lsb_reg = 0, comp_coeff_msb_reg = 0;
|
u16 comp_coeff_lsb_reg = 0, comp_coeff_msb_reg = 0;
|
||||||
u16 mode = rx_priv->hph_pwr_mode;
|
u16 mode = rx_priv->hph_pwr_mode;
|
||||||
|
|
||||||
|
/* AUX does not have compander */
|
||||||
|
if (interp_n == INTERP_AUX)
|
||||||
|
return 0;
|
||||||
|
|
||||||
comp = interp_n;
|
comp = interp_n;
|
||||||
if (!rx_priv->comp_enabled[comp])
|
if (!rx_priv->comp_enabled[comp])
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user