modules:taf987x:donnot send calib value for receiver.

- for receiver ,bypass smart pa, donnot send calib value to adsp ,

Change-Id: Iffce317be46c65921ab2d158e06f314637e9be9f
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1265703
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liaohj 2018-11-07 10:22:39 +08:00 • committed by Hujun Liao
commit aa7f58c635

View file

@ -2966,8 +2966,11 @@ static int tfa98xx_mute(struct snd_soc_dai *dai, int mute, int stream)
{
tfa98xx->pstream = 1;
tfa98xx_adsp_send_calib_values(tfa98xx);
if(0 == tfa98xx->profile) {
tfa98xx_adsp_send_calib_values(tfa98xx);
} else {
pr_debug("current profile:%d\n",tfa98xx->profile);
}
/* Start DSP */
if ((tfa98xx->flags & TFA98XX_FLAG_CHIP_SELECTED) &&
(tfa98xx->dsp_init != TFA98XX_DSP_INIT_PENDING))