[PATCH 4/6] dmaengine: zynqmp_dma: Fix minor whitespace
Frank Li
Frank.li at oss.nxp.com
Thu Aug 6 08:53:26 PDT 2026
On Thu, Aug 06, 2026 at 06:00:12PM +0530, Golla Nagendra wrote:
> Fix minor whitespace formatting in zynqmp_dma_chan_probe().
>
> Signed-off-by: Golla Nagendra <nagendra.golla at amd.com>
> ---
> drivers/dma/xilinx/zynqmp_dma.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c
> index c5b05fd52e9d..2d56ea08ce45 100644
> --- a/drivers/dma/xilinx/zynqmp_dma.c
> +++ b/drivers/dma/xilinx/zynqmp_dma.c
> @@ -947,7 +947,7 @@ static int zynqmp_dma_chan_probe(struct zynqmp_dma_device *zdev,
> if (match_data)
> chan->irq_offset = match_data->offset;
>
> - chan->is_dmacoherent = of_property_read_bool(node, "dma-coherent");
> + chan->is_dmacoherent = of_property_read_bool(node, "dma-coherent");
You should not parse this common property, call of_dma_is_coherent() ?
Frank
> zdev->chan = chan;
> tasklet_setup(&chan->tasklet, zynqmp_dma_do_tasklet);
> spin_lock_init(&chan->lock);
> @@ -959,6 +959,7 @@ static int zynqmp_dma_chan_probe(struct zynqmp_dma_device *zdev,
>
> dma_cookie_init(&chan->common);
> chan->common.device = &zdev->common;
> +
> zynqmp_dma_init(chan);
> ret = platform_get_irq(pdev, 0);
> if (ret < 0)
> --
> 2.43.7
>
More information about the linux-arm-kernel
mailing list