|
@@ -2172,7 +2172,7 @@ static int lpass_cdc_wsa2_macro_rx_mux_put(struct snd_kcontrol *kcontrol,
|
|
|
dev_err_ratelimited(wsa2_dev, "%s: AIF reset already\n", __func__);
|
|
|
return 0;
|
|
|
}
|
|
|
- if (aif_rst >= LPASS_CDC_WSA2_MACRO_RX_MAX) {
|
|
|
+ if (aif_rst >= LPASS_CDC_WSA2_MACRO_MAX_DAIS) {
|
|
|
dev_err_ratelimited(wsa2_dev, "%s: Invalid AIF reset\n", __func__);
|
|
|
return 0;
|
|
|
}
|