summaryrefslogtreecommitdiff
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
authorErin Yan <xinyey@codeaurora.org>2018-08-09 10:21:31 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-08-14 19:49:31 -0700
commit2a7de566830b19f3e3e22506f9c0cd936758ac0d (patch)
tree306d71b5e187b6d3078702c84f66c4ceaddf6333 /kernel/trace/ring_buffer.c
parent2d6cc4c81b1cb69379102c57a9a927c9583ccb8b (diff)
q6asm: retry asm_open_read and asm_open_loopback when session id conflict
The ADSP asm session ids are managed by the kernel driver. It's all right for native use cases. But for virtualization use cases, there's no way to synchronize the session ids' status among virtual machines. Playing back in one virtual machine is probably failed, because the session id may had been occupied by a use case in another virtual machine. The patch allowed audio capture stream and loopback stream to try all available session ids in case of session id conflict error, to support concurrent playback from multiple virtual machines. Change-Id: I01b4da65f3e5716dd14c20c614b53f3c45dd9ea3 Signed-off-by: Erin Yan <xinyey@codeaurora.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions