Merge "qdspv2: Add latency calculation support in pcm offload path"

This commit is contained in:
Linux Build Service Account 2017-06-19 07:54:18 -07:00 committed by Gerrit - the friendly Code Review server
commit 6ec544aeed

View file

@ -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__,