dma: stm32f4x: By default increment pointer through data passed through memory
Without this bit set, if we a pass ptr to a string such as: "This is a string\n" The DMA'ed output would be: "TTTTTTTTTTTTTTTTTT" Change-Id: I0186c95ddca0390596d22af2551dbfa6716a5082 Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
08aa0c5bb3
commit
845ebe81f4
|
@ -310,7 +310,8 @@ static int dma_stm32_config_devcpy(struct device *dev, uint32_t id,
|
|||
DMA_STM32_SCR_MSIZE(src_bus_width) |
|
||||
DMA_STM32_SCR_PBURST(dst_burst_size) |
|
||||
DMA_STM32_SCR_MBURST(src_burst_size) |
|
||||
DMA_STM32_SCR_REQ(ddata->channel_tx);
|
||||
DMA_STM32_SCR_REQ(ddata->channel_tx) |
|
||||
DMA_STM32_SCR_MINC;
|
||||
break;
|
||||
case PERIPHERAL_TO_MEMORY:
|
||||
regs->scr = DMA_STM32_SCR_DIR(DMA_STM32_DEV_TO_MEM) |
|
||||
|
|
Loading…
Reference in a new issue