Merge "qdspv2: Add latency calculation support in pcm offload path"
This commit is contained in:
commit
6ec544aeed
1 changed files with 3 additions and 1 deletions
|
@ -1952,13 +1952,13 @@ static int32_t q6asm_callback(struct apr_client_data *data, void *priv)
|
||||||
port->buf[buf_index].used = 1;
|
port->buf[buf_index].used = 1;
|
||||||
spin_unlock_irqrestore(&port->dsp_lock, dsp_flags);
|
spin_unlock_irqrestore(&port->dsp_lock, dsp_flags);
|
||||||
|
|
||||||
config_debug_fs_write_cb();
|
|
||||||
|
|
||||||
for (i = 0; i < port->max_buf_cnt; i++)
|
for (i = 0; i < port->max_buf_cnt; i++)
|
||||||
dev_vdbg(ac->dev, "%s %d\n",
|
dev_vdbg(ac->dev, "%s %d\n",
|
||||||
__func__, port->buf[i].used);
|
__func__, port->buf[i].used);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
config_debug_fs_write_cb();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ASM_STREAM_CMDRSP_GET_PP_PARAMS_V2:
|
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);
|
rc = apr_send_pkt(ac->apr, (uint32_t *) &write);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
pr_err("%s: write op[0x%x]rc[%d]\n", __func__,
|
pr_err("%s: write op[0x%x]rc[%d]\n", __func__,
|
||||||
|
|
Loading…
Add table
Reference in a new issue