Commit e8f2f72
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 e8f2f72
0 commit comments