techpack: audio: tfa9874: Fix processor endifs

Change-Id: Id73ad55260cb4a0422fd990bccd8daf6d6ebe050
This commit is contained in:
Sebastiano Barezzi
2023-03-05 21:31:27 +01:00
parent d0d0d12329
commit 8f3715fbb9

View File

@@ -3297,6 +3297,7 @@ static int tfa98xx_mute(struct snd_soc_dai *dai, int mute, int stream)
#else #else
tfa98xx_send_mute_cmd(TFA_KCONTROL_VALUE_ENABLED); tfa98xx_send_mute_cmd(TFA_KCONTROL_VALUE_ENABLED);
msleep(60); msleep(60);
#endif
#endif #endif
tfa_dev_stop(tfa98xx->tfa); tfa_dev_stop(tfa98xx->tfa);
tfa98xx->dsp_init = TFA98XX_DSP_INIT_STOPPED; tfa98xx->dsp_init = TFA98XX_DSP_INIT_STOPPED;
@@ -3330,8 +3331,10 @@ static int tfa98xx_mute(struct snd_soc_dai *dai, int mute, int stream)
tfa98xx_mixer_profile), tfa98xx_mixer_profile),
".standby") != NULL)) { ".standby") != NULL)) {
tfa98xx_adsp_send_calib_values(); tfa98xx_adsp_send_calib_values();
} else }
#else
tfa98xx_adsp_send_calib_values(); tfa98xx_adsp_send_calib_values();
#endif
#endif #endif
} else { } else {
tfa98xx->cstream = 1; tfa98xx->cstream = 1;