summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-06-19 07:54:18 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-19 07:54:18 -0700
commit6ec544aeeddf6c147dd842212c478b09fc0fbc46 (patch)
treed32bc637bf244ad0613db7b0b99a252a1fd8de50
parentc9ada11e43d71f256c6ba6981e050ab84afb6c8e (diff)
parentf5a7555de3bb1da8d7ac70418c6defb515a56b5a (diff)
Merge "qdspv2: Add latency calculation support in pcm offload path"
-rw-r--r--sound/soc/msm/qdsp6v2/q6asm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/msm/qdsp6v2/q6asm.c b/sound/soc/msm/qdsp6v2/q6asm.c
index 6f097b7e8dd5..44e5b01b1ccb 100644
--- a/sound/soc/msm/qdsp6v2/q6asm.c
+++ b/sound/soc/msm/qdsp6v2/q6asm.c
@@ -1952,13 +1952,13 @@ static int32_t q6asm_callback(struct apr_client_data *data, void *priv)
port->buf[buf_index].used = 1;
spin_unlock_irqrestore(&port->dsp_lock, dsp_flags);
- config_debug_fs_write_cb();
for (i = 0; i < port->max_buf_cnt; i++)
dev_vdbg(ac->dev, "%s %d\n",
__func__, port->buf[i].used);
}
+ config_debug_fs_write_cb();
break;
}
case ASM_STREAM_CMDRSP_GET_PP_PARAMS_V2:
@@ -7750,6 +7750,8 @@ int q6asm_async_write(struct audio_client *ac,
}
}
+ config_debug_fs_write(ab);
+
rc = apr_send_pkt(ac->apr, (uint32_t *) &write);
if (rc < 0) {
pr_err("%s: write op[0x%x]rc[%d]\n", __func__,