mirror of https://github.com/thesofproject/sof.git
dw-dma: fix buffer and copy alignments
DW-DMA has no specific alignments regarding buffer and copy sizes. However setting it to 32 bytes breaks stream formats with period sizes lower than 32 bytes, as linked list is being configured incorrectly. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
ed64f40935
commit
2f818ec801
|
@ -137,8 +137,8 @@
|
|||
#define trace_dwdma_error(__e, ...) \
|
||||
trace_error(TRACE_CLASS_DMA, __e, ##__VA_ARGS__)
|
||||
|
||||
#define DW_DMA_BUFFER_ALIGNMENT 0x20
|
||||
#define DW_DMA_COPY_ALIGNMENT 0x20
|
||||
#define DW_DMA_BUFFER_ALIGNMENT 0x4
|
||||
#define DW_DMA_COPY_ALIGNMENT 0x4
|
||||
|
||||
/* TODO: add FIFO sizes */
|
||||
struct dw_chan_data {
|
||||
|
|
Loading…
Reference in New Issue