dmaengine: pl330: fix argument for tasklet
authorVinod Koul <vkoul@kernel.org>
Wed, 30 Sep 2020 12:17:35 +0000 (17:47 +0530)
committerVinod Koul <vkoul@kernel.org>
Thu, 1 Oct 2020 04:48:27 +0000 (10:18 +0530)
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")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20200930121735.49699-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c

index d98fb31..e9f0101 100644 (file)
@@ -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);
 }
 
 /*