diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 178f90623fbe..25db2656ebdd 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -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;