From: Vinod Koul Date: Thu, 1 Oct 2020 16:47:40 +0000 (+0530) Subject: dmaengine: fsl: remove bad channel update X-Git-Tag: v5.10.7~1415^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0395f869f685c256822c5041750e6e130a16ec1b;p=platform%2Fkernel%2Flinux-rpi.git dmaengine: fsl: remove bad channel update Commit 59cd818763e8 ("dmaengine: fsl: convert tasklets to use new tasklet_setup() API") broke this driver by not removing the old channel update method. Fix this by remove the offending call as channel is queried from tasklet structure. Fixes: 59cd818763e8 ("dmaengine: fsl: convert tasklets to use new tasklet_setup() API") Signed-off-by: Vinod Koul Link: https://lore.kernel.org/r/20201001164740.178977-1-vkoul@kernel.org Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/fsl_raid.c b/drivers/dma/fsl_raid.c index 1ddd7ce..fdf3500 100644 --- a/drivers/dma/fsl_raid.c +++ b/drivers/dma/fsl_raid.c @@ -163,8 +163,6 @@ static void fsl_re_dequeue(struct tasklet_struct *t) unsigned int count, oub_count; int found; - re_chan = dev_get_drvdata((struct device *)data); - fsl_re_cleanup_descs(re_chan); spin_lock_irqsave(&re_chan->desc_lock, flags);