Skip to content

Commit 4fa9389

Browse files
committed
dax: use atomic flags to avoid race conditions
In DP domain, sof_dax_process runs in a DP thread, other sof_dax_* functions run in a different LL thread. Using atomic flags instead of original dax_ctx->update_flags to avoid potential race conditions when updating flags. Since dax_inf.h should not have any dependencies on SOF, we define the new atomic flags in dax.c Signed-off-by: Jun Lai <jun.lai@dolby.com>
1 parent 85e3284 commit 4fa9389

File tree

2 files changed

+124
-63
lines changed
  • src/audio/module_adapter/module/dolby
  • third_party/include

2 files changed

+124
-63
lines changed

0 commit comments

Comments
 (0)