[Sound-open-firmware] [PATCH] Use tracev instead of trace for dai irq event.

yan.wang at linux.intel.com yan.wang at linux.intel.com
Mon Apr 2 04:51:19 CEST 2018


From: Yan Wang <yan.wang at linux.intel.com>

This event is in pipeline and will produce many trace data in a short
time. It should use tracev to disable it by default.

Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
---
Test with:
Mininow max rt5651 and APL UP^2 nocodec and CNL nocodec
SOF 1.1-stable: 7f9110c4c0ca26a67e0e4baa91e5f0bcc31a1c3e
SOF-Tool 1.1-stable: 99c09871a85111e52d4fa68a4d6f96770d1aabbd
https://github.com/plbossart/sound/tree/topic/sof-v4.14:
c33cfed51fff5eb156dcf70ba849e6ffb3008377
---
 src/audio/dai.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/audio/dai.c b/src/audio/dai.c
index 1383c14..0a96ee1 100644
--- a/src/audio/dai.c
+++ b/src/audio/dai.c
@@ -79,7 +79,7 @@ static void dai_dma_cb(void *data, uint32_t type, struct dma_sg_elem *next)
 	struct dai_data *dd = comp_get_drvdata(dev);
 	struct comp_buffer *dma_buffer;
 
-	trace_dai("irq");
+	tracev_dai("irq");
 
 	/* stop dma copy for pause/stop/xrun */
 	if (dev->state != COMP_STATE_ACTIVE || dd->xrun) {
-- 
2.14.3



More information about the Sound-open-firmware mailing list