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

Skip to content
Commit a4648083 authored by Xiaojun Sang's avatar Xiaojun Sang
Browse files

ASoC: q6asm: use session lock to avoid use-after-free



It is possible that audio session free and param set happen
simultaneously. Audio client might be freed while param set
is doing wait_event_timeout.
Use session lock to make sure client_free happens after param
set.

Change-Id: I0947c309c8e445fa2e220680e329d88bd5fe2418
Signed-off-by: default avatarXiaojun Sang <xsang@codeaurora.org>
parent e443c085
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