ipc: dma: Correct typo for DMA timeout time and units.

100 usecs not 1 msec

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2016-10-20 16:05:12 +01:00
parent 5b33175b11
commit 446fe1af42
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ int dma_copy_to_host(struct dma_sg_config *host_sg, int32_t host_offset,
return -EINVAL; return -EINVAL;
/* set up DMA configuration */ /* 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.direction = DMA_DIR_LMEM_TO_HMEM;
config.src_width = sizeof(uint32_t); config.src_width = sizeof(uint32_t);
config.dest_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; return -EINVAL;
/* set up DMA configuration */ /* 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.direction = DMA_DIR_HMEM_TO_LMEM;
config.src_width = sizeof(uint32_t); config.src_width = sizeof(uint32_t);
config.dest_width = sizeof(uint32_t); config.dest_width = sizeof(uint32_t);