|
@@ -1184,9 +1184,6 @@ static int lpass_cdc_wsa2_macro_enable_swr(struct snd_soc_dapm_widget *w,
|
|
|
swrm_wcd_notify(
|
|
|
wsa2_priv->swr_ctrl_data[0].wsa2_swr_pdev,
|
|
|
SWR_DEVICE_UP, NULL);
|
|
|
- swrm_wcd_notify(
|
|
|
- wsa2_priv->swr_ctrl_data[0].wsa2_swr_pdev,
|
|
|
- SWR_SET_NUM_RX_CH, &ch_cnt);
|
|
|
}
|
|
|
break;
|
|
|
case SND_SOC_DAPM_POST_PMD:
|
|
@@ -1198,10 +1195,6 @@ static int lpass_cdc_wsa2_macro_enable_swr(struct snd_soc_dapm_widget *w,
|
|
|
wsa2_priv->rx_1_count--;
|
|
|
ch_cnt = wsa2_priv->rx_0_count + wsa2_priv->rx_1_count;
|
|
|
|
|
|
- if (wsa2_priv->swr_ctrl_data)
|
|
|
- swrm_wcd_notify(
|
|
|
- wsa2_priv->swr_ctrl_data[0].wsa2_swr_pdev,
|
|
|
- SWR_SET_NUM_RX_CH, &ch_cnt);
|
|
|
break;
|
|
|
}
|
|
|
dev_dbg(wsa2_priv->dev, "%s: current swr ch cnt: %d\n",
|