Ocean NA:audio: resolve Handset no sound.

- voice call handset mode, no capture ,cannot start dsp.
   sync with FAE ,move start dsp to playback.

Change-Id: I2abb563609f00e2ebe92ee3401cdc47cf05ca11b
Signed-off-by: liaohj <liaohj@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208856
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
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-07-12 19:14:34 +08:00 • committed by Hujun Liao
commit ce18f6fd1f

View file

@ -2871,13 +2871,13 @@ static int tfa98xx_mute(struct snd_soc_dai *dai, int mute, int stream)
tfa98xx->pstream = 1;
tfa98xx_adsp_send_calib_values(tfa98xx);
} else {
/* Start DSP */
if ((tfa98xx->flags & TFA98XX_FLAG_CHIP_SELECTED) &&
(tfa98xx->dsp_init != TFA98XX_DSP_INIT_PENDING))
queue_delayed_work(tfa98xx->tfa98xx_wq, &tfa98xx->init_work, 0);
} else
tfa98xx->cstream = 1;
/* Start DSP */
if ((tfa98xx->flags & TFA98XX_FLAG_CHIP_SELECTED) &&
(tfa98xx->dsp_init != TFA98XX_DSP_INIT_PENDING))
queue_delayed_work(tfa98xx->tfa98xx_wq, &tfa98xx->init_work, 0);
}
#else
tfa98xx->pstream = 1;
else