[Sound-open-firmware] [PATCH] ipc: dma: Correct typo for DMA timeout time and units.
Liam Girdwood
liam.r.girdwood at linux.intel.com
Thu Oct 20 18:00:09 CEST 2016
100 usecs not 1 msec
Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
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 c7523fa..0e92ebe 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);
--
2.7.4
More information about the Sound-open-firmware
mailing list