techpack: audio: tfa9874: Fix processor endifs
Change-Id: Id73ad55260cb4a0422fd990bccd8daf6d6ebe050
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user