[Sound-open-firmware] [PATCH 5/5][RFC] APL/CNL: Initialize DMA trace data structure on APL/CNL.
yan.wang at linux.intel.com
yan.wang at linux.intel.com
Tue Mar 13 11:16:14 CET 2018
From: Yan Wang <yan.wang at linux.intel.com>
Add dma_trace_init_complete() calling on APL/CNL platform.
Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
---
src/platform/apollolake/platform.c | 3 +++
src/platform/cannonlake/platform.c | 3 +++
2 files changed, 6 insertions(+)
diff --git a/src/platform/apollolake/platform.c b/src/platform/apollolake/platform.c
index 9574970..84f8e71 100644
--- a/src/platform/apollolake/platform.c
+++ b/src/platform/apollolake/platform.c
@@ -262,5 +262,8 @@ int platform_init(struct reef *reef)
dai_probe(ssp);
}
+ /* Initialize DMA for Trace*/
+ dma_trace_init_complete(reef->dmat);
+
return 0;
}
diff --git a/src/platform/cannonlake/platform.c b/src/platform/cannonlake/platform.c
index c9449ed..8bf2d7a 100644
--- a/src/platform/cannonlake/platform.c
+++ b/src/platform/cannonlake/platform.c
@@ -283,5 +283,8 @@ int platform_init(struct reef *reef)
dai_probe(ssp);
}
+ /* Initialize DMA for Trace*/
+ dma_trace_init_complete(reef->dmat);
+
return 0;
}
--
2.14.3
More information about the Sound-open-firmware
mailing list