Skip to contentSkip to conversation

dmaengine: pl330: fix argument for tasklet

PATCH In review Vinod Koul 1 participant 2 messages Sep 30, 2020 – Oct 1, 2020 dmaengine

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH 1/1 dmaengine: pl330: fix argument for tasklet

Commit 59cd818763e8 ("dmaengine: fsl: convert tasklets to use new tasklet_setup() API") converted the pl330 driver to use new tasklet functions but missed that driver calls the tasklet function directly as well, so update it.

Fixes 59cd818763e8 ("dmaengine: fsl: convert tasklets to use new tasklet_setup() API")
Cc Allen Pais <[email protected]>
---
 drivers/dma/pl330.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/pl330.c +1 -1
index d98fb318dd2d..e9f0101d92fa 100644
@@ -2484,7 +2484,7 @@ static void pl330_issue_pending(struct dma_chan *chan)
 	list_splice_tail_init(&pch->submitted_list, &pch->work_list);
 	spin_unlock_irqrestore(&pch->lock, flags);
 
-	pl330_tasklet((unsigned long)pch);
+	pl330_tasklet(&pch->task);
 }
 
 /*
Signature · 1 line
2.26.2
author maintainer
#1 lore raw
Quoted 4 lines · Vinod Koul

Commit 59cd818763e8 ("dmaengine: fsl: convert tasklets to use new tasklet_setup() API") converted the pl330 driver to use new tasklet functions but missed that driver calls the tasklet function directly as well, so update it.

kbuild bot is happy, so merged this and pushed this branch to next

Signature · 1 line
~Vinod