rmbox: add missing trace class to sync with firmware

Add missing trace class to the rmbox to avoid unknow value message.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This commit is contained in:
Pan Xiuli 2018-06-25 12:59:07 +08:00
parent bd7dc88231
commit 0beda35193
1 changed files with 10 additions and 0 deletions

View File

@ -46,6 +46,10 @@
#define TRACE_CLASS_TONE (18 << 24)
#define TRACE_CLASS_EQ_FIR (19 << 24)
#define TRACE_CLASS_EQ_IIR (20 << 24)
#define TRACE_CLASS_SA (21 << 24)
#define TRACE_CLASS_DMIC (22 << 24)
#define TRACE_CLASS_POWER (23 << 24)
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
@ -162,6 +166,12 @@ static void show_trace(uint64_t val, uint64_t addr, uint64_t *timestamp, double
trace = "eq-fir";
else if (class == TRACE_CLASS_EQ_IIR)
trace = "eq-iir";
else if (class == TRACE_CLASS_SA)
trace = "sa";
else if (class == TRACE_CLASS_DMIC)
trace = "dmic";
else if (class == TRACE_CLASS_POWER)
trace = "pm";
else {
printf("value 0x%8.8x\n", (uint32_t)val);
return;