[Sound-open-firmware] [PATCH 1/2] Also use atomic API for trace_error().
yan.wang at linux.intel.com
yan.wang at linux.intel.com
Fri Dec 1 09:21:22 CET 2017
From: Yan Wang <yan.wang at linux.intel.com>
It could be add DMA trace information for debugging and avoiding
dead lock.
Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
---
src/include/reef/trace.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/reef/trace.h b/src/include/reef/trace.h
index ef82d75..9497f98 100644
--- a/src/include/reef/trace.h
+++ b/src/include/reef/trace.h
@@ -128,7 +128,7 @@ void trace_init(struct reef * reef);
/* error tracing */
#if TRACEE
#define trace_error(__c, __e) \
- _trace_error(__c | (__e[0] << 16) | (__e[1] <<8) | __e[2])
+ _trace_error_atomic(__c | (__e[0] << 16) | (__e[1] <<8) | __e[2])
#define trace_error_atomic(__c, __e) \
_trace_error_atomic(__c | (__e[0] << 16) | (__e[1] <<8) | __e[2])
#else
--
2.7.4
More information about the Sound-open-firmware
mailing list