diff options
author | Kuirong Wang <kuirongw@codeaurora.org> | 2016-09-23 15:11:15 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-30 10:56:00 -0700 |
commit | cbd3e0cb0696906d3bdc3e1db45ac94f77fd6e26 (patch) | |
tree | 78510ea5d7d10b85bf3703fddecb0c769786be3a /include | |
parent | 46692be6dd06ce405cb09cf8338b1f0edbbfb295 (diff) |
ASoC: msm: Update the error handling when APR sends packet failed
Update the error handling when APR sends packet failed so that audio
driver can perform proper error recovery.
CRs-Fixed: 1050605
Change-Id: I6210e244e6299ec747836f40d03e92c15c6e53ee
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/q6asm-v2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/q6asm-v2.h b/include/sound/q6asm-v2.h index 8525f2e7f738..00129eb08888 100644 --- a/include/sound/q6asm-v2.h +++ b/include/sound/q6asm-v2.h @@ -339,6 +339,8 @@ int q6asm_stream_cmd_nowait(struct audio_client *ac, int cmd, void *q6asm_is_cpu_buf_avail(int dir, struct audio_client *ac, uint32_t *size, uint32_t *idx); +int q6asm_cpu_buf_release(int dir, struct audio_client *ac); + void *q6asm_is_cpu_buf_avail_nolock(int dir, struct audio_client *ac, uint32_t *size, uint32_t *idx); |