[Sound-open-firmware] [PATCH 1/3] dw-dma: add src_msize and dest_msize to dma_sg_element setting

Keyon Jie yang.jie at linux.intel.com
Sat Dec 16 02:59:29 CET 2017


We need configure different msize for different dma copy, so
here introduce it to dma_sg_element struct.

Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
---
 src/include/reef/dma.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/include/reef/dma.h b/src/include/reef/dma.h
index 697e2c6..fea1cfa 100644
--- a/src/include/reef/dma.h
+++ b/src/include/reef/dma.h
@@ -70,6 +70,8 @@ struct dma_sg_elem {
 struct dma_sg_config {
 	uint32_t src_width;
 	uint32_t dest_width;
+	uint32_t src_msize;
+	uint32_t dest_msize;
 	uint32_t direction;
 	uint32_t src_dev;
 	uint32_t dest_dev;
-- 
2.11.0



More information about the Sound-open-firmware mailing list