dmaengine: pl330: Workaround for interleaved for GKI

Once upstream is merged, this patch can be dropped.
also for line CONFIG_NO_GKI

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I2b0fc69aa6673e46dcd65e0369ab4353e7c4f9fc
This commit is contained in:
Sugar Zhang
2024-06-04 20:26:00 +08:00
committed by Tao Huang
parent 9aba6831dd
commit f48e683a54

View File

@@ -2943,6 +2943,8 @@ static struct dma_async_tx_descriptor *pl330_prep_interleaved_dma(
#ifdef CONFIG_NO_GKI
nump = xt->nump;
#else
nump = xt->sgl[1].size;
#endif
numf = xt->numf;
size = xt->sgl[0].size;