dmaengine: fsl-edma: Add missing newlines to log messages
authorStefan Wahren <wahrenst@gmx.net>
Wed, 5 Feb 2025 09:14:55 +0000 (10:14 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 10 Feb 2025 10:59:44 +0000 (16:29 +0530)
Not all log messages have a newline at the end. So fix it.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250205091455.4593-1-wahrenst@gmx.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-main.c

index f989b6c9c0a9847c2f76ed2ea9e53d65359621c7..760c9e3e374ca0e97234ea530019ff7f7ce2b33c 100644 (file)
@@ -164,7 +164,7 @@ static bool fsl_edma_srcid_in_use(struct fsl_edma_engine *fsl_edma, u32 srcid)
                fsl_chan = &fsl_edma->chans[i];
 
                if (fsl_chan->srcid && srcid == fsl_chan->srcid) {
-                       dev_err(&fsl_chan->pdev->dev, "The srcid is in use, can't use!");
+                       dev_err(&fsl_chan->pdev->dev, "The srcid is in use, can't use!\n");
                        return true;
                }
        }
@@ -822,7 +822,7 @@ static int fsl_edma_suspend_late(struct device *dev)
                spin_lock_irqsave(&fsl_chan->vchan.lock, flags);
                /* Make sure chan is idle or will force disable. */
                if (unlikely(fsl_chan->status == DMA_IN_PROGRESS)) {
-                       dev_warn(dev, "WARN: There is non-idle channel.");
+                       dev_warn(dev, "WARN: There is non-idle channel.\n");
                        fsl_edma_disable_request(fsl_chan);
                        fsl_edma_chan_mux(fsl_chan, 0, false);
                }