From 446fe1af42648d7d96493811ee6ad3a6135e7d05 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Thu, 20 Oct 2016 16:05:12 +0100 Subject: [PATCH] ipc: dma: Correct typo for DMA timeout time and units. 100 usecs not 1 msec Signed-off-by: Liam Girdwood --- src/ipc/dma-copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipc/dma-copy.c b/src/ipc/dma-copy.c index c7523fa41..0e92ebef1 100644 --- a/src/ipc/dma-copy.c +++ b/src/ipc/dma-copy.c @@ -89,7 +89,7 @@ int dma_copy_to_host(struct dma_sg_config *host_sg, int32_t host_offset, return -EINVAL; /* set up DMA configuration */ - complete.timeout = 100; /* wait 1 msecs for DMA to finish */ + complete.timeout = 100; /* wait 100 usecs for DMA to finish */ config.direction = DMA_DIR_LMEM_TO_HMEM; config.src_width = sizeof(uint32_t); config.dest_width = sizeof(uint32_t); @@ -166,7 +166,7 @@ int dma_copy_from_host(struct dma_sg_config *host_sg, int32_t host_offset, return -EINVAL; /* set up DMA configuration */ - complete.timeout = 100; /* wait 1 msecs for DMA to finish */ + complete.timeout = 100; /* wait 100 usecs for DMA to finish */ config.direction = DMA_DIR_HMEM_TO_LMEM; config.src_width = sizeof(uint32_t); config.dest_width = sizeof(uint32_t);