From 16a5de769e3cb191839fa53ef6be9598bf62a814 Mon Sep 17 00:00:00 2001 From: Tomasz Lauda Date: Mon, 20 Apr 2020 10:36:01 +0200 Subject: [PATCH] dw-dma: increase number of linked list items Increases number of linked list items for platforms supporting hardware linked list. For timer based scheduling and multiple pause/release sequences there could be such situation, where three linked list items are not enough. Signed-off-by: Tomasz Lauda --- src/drivers/dw/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/dw/dma.c b/src/drivers/dw/dma.c index b54e3c82b..fe89a09d7 100644 --- a/src/drivers/dw/dma.c +++ b/src/drivers/dw/dma.c @@ -67,7 +67,7 @@ struct dw_dma_chan_data { static const uint32_t burst_elems[] = {1, 2, 4, 8}; #if CONFIG_HW_LLI -#define DW_DMA_BUFFER_PERIOD_COUNT 3 +#define DW_DMA_BUFFER_PERIOD_COUNT 4 #else #define DW_DMA_BUFFER_PERIOD_COUNT 2 #endif