20 Mar
2018
20 Mar
'18
3:48 p.m.
On 3/20/18 3:09 AM, yan.wang@linux.intel.com wrote:
From: Yan Wang yan.wang@linux.intel.com
It will cause DMA trace local buffer overflow and unnecessary.
it feels like it's time to add trace_ratelimited?
Signed-off-by: Yan Wang yan.wang@linux.intel.com
src/drivers/dw-dma.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/drivers/dw-dma.c b/src/drivers/dw-dma.c index a5717f3..2c46545 100644 --- a/src/drivers/dw-dma.c +++ b/src/drivers/dw-dma.c @@ -910,11 +910,12 @@ static void dw_dma_irq_handler(void *data) int i = dma_int->channel;
status_intr = dw_read(dma, DW_INTR_STATUS);
- if (!status_intr)
- if (!status_intr) { trace_dma_error("eDI");
trace_value(status_intr);
- }
- trace_dma("irq");
- trace_value(status_intr);
tracev_dma("irq");
/* get the source of our IRQ. */ status_block = dw_read(dma, DW_STATUS_BLOCK);