Commit a7f639b7 authored by Federico Vaga's avatar Federico Vaga

sw:drv:dma: DMA limited to (32K - 1)

Signed-off-by: Federico Vaga's avatarFederico Vaga <>
parent 62f51781
......@@ -750,7 +750,7 @@ static int gn412x_dma_engine_init(struct gn412x_dma_device *gn412x_dma,
tasklet_init(&gn412x_dma->chan.task, gn412x_dma_start_task,
(unsigned long)&gn412x_dma->chan);
dma_set_max_seg_size(dma->dev, 0x3FFF);
dma_set_max_seg_size(dma->dev, 0x7FFF);
gn412x_dma->pool = dma_pool_create(dev_name(dma->dev), dma->dev,
sizeof(struct gn412x_dma_tx_hw),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment