Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da0a39d6 authored by Viraja Kommaraju's avatar Viraja Kommaraju Committed by Hongtao Peng
Browse files

q6asm: retry asm_open_read and asm_open_loopback during 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 playback & capture stream to try all
available session ids in case of session id conflict error, to support
concurrent playback from multiple virtual machines.

Change-Id: Ibdde0b21643f135066b017ab678d999841b23475
Signed-off-by: default avatarViraja Kommaraju <virajak@codeaurora.org>
parent 9f0c6704
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment