From: Allen Pais <hidden> Date: 2020-08-17 08:17:54
Commit 12cc923f1ccc ("tasklet: Introduce new initialization API")'
introduced a new tasklet initialization API. This series converts
all the dma drivers to use the new tasklet_setup() API
Allen Pais (35):
dma: altera-msgdma: convert tasklets to use new tasklet_setup() API
dma: at_hdmac: convert tasklets to use new tasklet_setup() API
dma: at_xdmac: convert tasklets to use new tasklet_setup() API
dma: coh901318: convert tasklets to use new tasklet_setup() API
dma: dw: convert tasklets to use new tasklet_setup() API
dma: ep93xx: convert tasklets to use new tasklet_setup() API
dma: fsl: convert tasklets to use new tasklet_setup() API
dma: imx-dma: convert tasklets to use new tasklet_setup() API
dma: ioat: convert tasklets to use new tasklet_setup() API
dma: iop_adma: convert tasklets to use new tasklet_setup() API
dma: ipu: convert tasklets to use new tasklet_setup() API
dma: k3dma: convert tasklets to use new tasklet_setup() API
dma: mediatek: convert tasklets to use new tasklet_setup() API
dma: mmp: convert tasklets to use new tasklet_setup() API
dma: mpc512x: convert tasklets to use new tasklet_setup() API
dma: mv_xor: convert tasklets to use new tasklet_setup() API
dma: mxs-dma: convert tasklets to use new tasklet_setup() API
dma: nbpfaxi: convert tasklets to use new tasklet_setup() API
dma: pch_dma: convert tasklets to use new tasklet_setup() API
dma: pl330: convert tasklets to use new tasklet_setup() API
dma: ppc4xx: convert tasklets to use new tasklet_setup() API
dma: qcom: convert tasklets to use new tasklet_setup() API
dma: sa11x0: convert tasklets to use new tasklet_setup() API
dma: sirf-dma: convert tasklets to use new tasklet_setup() API
dma: ste_dma40: convert tasklets to use new tasklet_setup() API
dma: sun6i: convert tasklets to use new tasklet_setup() API
dma: tegra20: convert tasklets to use new tasklet_setup() API
dma: timb_dma: convert tasklets to use new tasklet_setup() API
dma: txx9dmac: convert tasklets to use new tasklet_setup() API
dma: virt-dma: convert tasklets to use new tasklet_setup() API
dma: xgene: convert tasklets to use new tasklet_setup() API
dma: xilinx: convert tasklets to use new tasklet_setup() API
dma: plx_dma: convert tasklets to use new tasklet_setup() API
dma: sf-pdma: convert tasklets to use new tasklet_setup() API
dma: k3-udma: convert tasklets to use new tasklet_setup() API
drivers/dma/altera-msgdma.c | 6 +++---
drivers/dma/at_hdmac.c | 7 +++----
drivers/dma/at_xdmac.c | 5 ++---
drivers/dma/coh901318.c | 7 +++----
drivers/dma/dw/core.c | 6 +++---
drivers/dma/ep93xx_dma.c | 7 +++----
drivers/dma/fsl_raid.c | 6 +++---
drivers/dma/fsldma.c | 6 +++---
drivers/dma/imx-dma.c | 7 +++----
drivers/dma/ioat/dma.c | 6 +++---
drivers/dma/ioat/dma.h | 2 +-
drivers/dma/ioat/init.c | 4 +---
drivers/dma/iop-adma.c | 8 ++++----
drivers/dma/ipu/ipu_idmac.c | 6 +++---
drivers/dma/k3dma.c | 6 +++---
drivers/dma/mediatek/mtk-cqdma.c | 7 +++----
drivers/dma/mmp_pdma.c | 6 +++---
drivers/dma/mmp_tdma.c | 6 +++---
drivers/dma/mpc512x_dma.c | 6 +++---
drivers/dma/mv_xor.c | 7 +++----
drivers/dma/mv_xor_v2.c | 8 ++++----
drivers/dma/mxs-dma.c | 7 +++----
drivers/dma/nbpfaxi.c | 6 +++---
drivers/dma/pch_dma.c | 7 +++----
drivers/dma/pl330.c | 12 ++++++------
drivers/dma/plx_dma.c | 7 +++----
drivers/dma/ppc4xx/adma.c | 7 +++----
drivers/dma/qcom/bam_dma.c | 6 +++---
drivers/dma/qcom/hidma.c | 6 +++---
drivers/dma/qcom/hidma_ll.c | 6 +++---
drivers/dma/sa11x0-dma.c | 6 +++---
drivers/dma/sf-pdma/sf-pdma.c | 14 ++++++--------
drivers/dma/sirf-dma.c | 6 +++---
drivers/dma/ste_dma40.c | 7 +++----
drivers/dma/sun6i-dma.c | 6 +++---
drivers/dma/tegra20-apb-dma.c | 7 +++----
drivers/dma/ti/k3-udma.c | 7 +++----
drivers/dma/timb_dma.c | 6 +++---
drivers/dma/txx9dmac.c | 14 ++++++--------
drivers/dma/virt-dma.c | 6 +++---
drivers/dma/xgene-dma.c | 7 +++----
drivers/dma/xilinx/xilinx_dma.c | 7 +++----
drivers/dma/xilinx/zynqmp_dma.c | 6 +++---
43 files changed, 135 insertions(+), 157 deletions(-)
--
2.17.1
From: Allen Pais <hidden> Date: 2020-08-17 08:18:03
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/altera-msgdma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:18:16
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/at_hdmac.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:18:33
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/coh901318.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:18:44
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/dw/core.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:18:52
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/at_xdmac.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:19:04
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/fsl_raid.c | 6 +++---
drivers/dma/fsldma.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:19:13
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/imx-dma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:19:29
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/ioat/dma.c | 6 +++---
drivers/dma/ioat/dma.h | 2 +-
drivers/dma/ioat/init.c | 4 +---
3 files changed, 5 insertions(+), 7 deletions(-)
@@ -165,7 +165,7 @@ void ioat_stop(struct ioatdma_chan *ioat_chan)tasklet_kill(&ioat_chan->cleanup_task);/* final cleanup now that everything is quiesced and can't re-arm */-ioat_cleanup_event((unsignedlong)&ioat_chan->dma_chan);+ioat_cleanup_event(&ioat_chan->cleanup_task);}staticvoid__ioat_issue_pending(structioatdma_chan*ioat_chan)
From: Allen Pais <hidden> Date: 2020-08-17 08:19:34
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/iop-adma.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
@@ -238,9 +238,10 @@ iop_adma_slot_cleanup(struct iop_adma_chan *iop_chan)spin_unlock_bh(&iop_chan->lock);}-staticvoidiop_adma_tasklet(unsignedlongdata)+staticvoidiop_adma_tasklet(structtasklet_struct*t){-structiop_adma_chan*iop_chan=(structiop_adma_chan*)data;+structiop_adma_chan*iop_chan=from_tasklet(iop_chan,t,+irq_tasklet);/* lockdep will flag depedency submissions as potentially*recursivelocking,thisisnotthecaseasadependency
@@ -1351,8 +1352,7 @@ static int iop_adma_probe(struct platform_device *pdev)ret=-ENOMEM;gotoerr_free_iop_chan;}-tasklet_init(&iop_chan->irq_tasklet,iop_adma_tasklet,(unsignedlong)-iop_chan);+tasklet_setup(&iop_chan->irq_tasklet,iop_adma_tasklet);/* clear errors before enabling interrupts */iop_adma_device_clear_err_status(iop_chan);
From: Allen Pais <hidden> Date: 2020-08-17 08:19:44
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/ipu/ipu_idmac.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:19:57
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/k3dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:20:00
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/mediatek/mtk-cqdma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
@@ -878,8 +878,7 @@ static int mtk_cqdma_probe(struct platform_device *pdev)/* initialize tasklet for each PC */for(i=0;i<cqdma->dma_channels;++i)-tasklet_init(&cqdma->pc[i]->tasklet,mtk_cqdma_tasklet_cb,-(unsignedlong)cqdma->pc[i]);+tasklet_setup(&cqdma->pc[i]->tasklet,mtk_cqdma_tasklet_cb);dev_info(&pdev->dev,"MediaTek CQDMA driver registered\n");
From: Allen Pais <hidden> Date: 2020-08-17 08:20:19
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/mmp_pdma.c | 6 +++---
drivers/dma/mmp_tdma.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
@@ -993,7 +993,7 @@ static int mmp_pdma_chan_init(struct mmp_pdma_device *pdev, int idx, int irq)spin_lock_init(&chan->desc_lock);chan->dev=pdev->dev;chan->chan.device=&pdev->device;-tasklet_init(&chan->tasklet,dma_do_tasklet,(unsignedlong)chan);+tasklet_setup(&chan->tasklet,dma_do_tasklet);INIT_LIST_HEAD(&chan->chain_pending);INIT_LIST_HEAD(&chan->chain_running);
@@ -586,7 +586,7 @@ static int mmp_tdma_chan_init(struct mmp_tdma_device *tdev,tdmac->pool=pool;tdmac->status=DMA_COMPLETE;tdev->tdmac[tdmac->idx]=tdmac;-tasklet_init(&tdmac->tasklet,dma_do_tasklet,(unsignedlong)tdmac);+tasklet_setup(&tdmac->tasklet,dma_do_tasklet);/* add the channel to tdma_chan list */list_add_tail(&tdmac->chan.device_node,
From: Allen Pais <hidden> Date: 2020-08-17 08:20:28
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/mpc512x_dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:20:39
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/mv_xor.c | 7 +++----
drivers/dma/mv_xor_v2.c | 8 ++++----
2 files changed, 7 insertions(+), 8 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:20:44
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/mxs-dma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
@@ -812,8 +812,7 @@ static int __init mxs_dma_probe(struct platform_device *pdev)mxs_chan->chan.device=&mxs_dma->dma_device;dma_cookie_init(&mxs_chan->chan);-tasklet_init(&mxs_chan->tasklet,mxs_dma_tasklet,-(unsignedlong)mxs_chan);+tasklet_setup(&mxs_chan->tasklet,mxs_dma_tasklet);/* Add the channel to mxs_chan list */
From: Allen Pais <hidden> Date: 2020-08-17 08:20:56
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/nbpfaxi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:21:01
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/ep93xx_dma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:21:05
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/pch_dma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:21:16
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/pl330.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:21:31
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/ppc4xx/adma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:21:51
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/sa11x0-dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:21:53
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/qcom/bam_dma.c | 6 +++---
drivers/dma/qcom/hidma.c | 6 +++---
drivers/dma/qcom/hidma_ll.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:21:59
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/sirf-dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:22:02
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/ste_dma40.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:22:18
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/sun6i-dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:22:30
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/tegra20-apb-dma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:22:41
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/timb_dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:22:50
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/txx9dmac.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:22:53
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/virt-dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:23:03
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/xgene-dma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
@@ -975,9 +975,9 @@ static enum dma_status xgene_dma_tx_status(struct dma_chan *dchan,returndma_cookie_status(dchan,cookie,txstate);}-staticvoidxgene_dma_tasklet_cb(unsignedlongdata)+staticvoidxgene_dma_tasklet_cb(structtasklet_struct*t){-structxgene_dma_chan*chan=(structxgene_dma_chan*)data;+structxgene_dma_chan*chan=from_tasklet(chan,t,tasklet);/* Run all cleanup for descriptors which have been completed */xgene_dma_cleanup_descriptors(chan);
@@ -1539,8 +1539,7 @@ static int xgene_dma_async_register(struct xgene_dma *pdma, int id)INIT_LIST_HEAD(&chan->ld_pending);INIT_LIST_HEAD(&chan->ld_running);INIT_LIST_HEAD(&chan->ld_completed);-tasklet_init(&chan->tasklet,xgene_dma_tasklet_cb,-(unsignedlong)chan);+tasklet_setup(&chan->tasklet,xgene_dma_tasklet_cb);chan->pending=0;chan->desc_pool=NULL;
From: Allen Pais <hidden> Date: 2020-08-17 08:23:09
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/xilinx/xilinx_dma.c | 7 +++----
drivers/dma/xilinx/zynqmp_dma.c | 6 +++---
2 files changed, 6 insertions(+), 7 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:23:24
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/plx_dma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:23:30
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/sf-pdma/sf-pdma.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 08:23:41
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Allen Pais <redacted>
---
drivers/dma/ti/k3-udma.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)