dmaengine: xilinx: vdma: icg should be difference of stride and hsize
This patch modifies the icg field to match the description as mentioned in the DMA Linux framework. Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
Родитель
a5e48e243b
Коммит
6d80f45f50
|
@ -963,7 +963,7 @@ xilinx_vdma_dma_prep_interleaved(struct dma_chan *dchan,
|
|||
hw = &segment->hw;
|
||||
hw->vsize = xt->numf;
|
||||
hw->hsize = xt->sgl[0].size;
|
||||
hw->stride = xt->sgl[0].icg <<
|
||||
hw->stride = (xt->sgl[0].icg + xt->sgl[0].size) <<
|
||||
XILINX_VDMA_FRMDLY_STRIDE_STRIDE_SHIFT;
|
||||
hw->stride |= chan->config.frm_dly <<
|
||||
XILINX_VDMA_FRMDLY_STRIDE_FRMDLY_SHIFT;
|
||||
|
|
Загрузка…
Ссылка в новой задаче