ASoC: msm: qdsp6v2: Make separate ASM cal function
Remove set ASM cal function from ASM run functions. Define separate function for compress and pcm driver clients to call. Call function in compress driver after setting gain since soft volume in ASM table must be set after gain. Change-Id: I26ad33c0ef5dbbf3a79848179d371a583e381cf8 Signed-off-by: Ben Romberger <bromberg@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
parent
194f41adfe
commit
a48f38a287
1 changed files with 4 additions and 0 deletions
|
@ -980,6 +980,10 @@ static int msm_compr_configure_dsp(struct snd_compr_stream *cstream)
|
|||
if (ret < 0)
|
||||
pr_err("%s : Set Volume failed : %d", __func__, ret);
|
||||
|
||||
ret = q6asm_send_cal(ac);
|
||||
if (ret < 0)
|
||||
pr_debug("%s : Send cal failed : %d", __func__, ret);
|
||||
|
||||
ret = q6asm_set_softpause(ac, &softpause);
|
||||
if (ret < 0)
|
||||
pr_err("%s: Send SoftPause Param failed ret=%d\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue