Merge "SoC: msm: Compatible with loopback case without asm cal data"

This commit is contained in:
qctecmdr 2021-06-30 07:01:52 -07:00 • committed by Gerrit - the friendly Code Review server
commit e03cf4b8b1

View file

@ -527,9 +527,8 @@ static int msm_pcm_prepare(struct snd_pcm_substream *substream)
return -EINVAL;
}
ret = q6asm_send_cal(pcm->audio_client);
if (ret < 0)
pr_err("%s : Send audio cal failed : %d", __func__, ret);
if (q6asm_send_cal(pcm->audio_client) < 0)
pr_info("%s : Send audio cal failed\n", __func__);
msm_pcm_routing_reg_phy_stream(soc_pcm_tx->dai_link->id,
pcm->audio_client->perf_mode,