]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dmaengine: fix typo in the comment
authorYan Zhen <yanzhen@vivo.com>
Wed, 18 Sep 2024 03:41:14 +0000 (11:41 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 21 Oct 2024 17:37:08 +0000 (23:07 +0530)
Correctly spelled comments make it easier for the reader to understand
the code.

Replace 'enngine' with 'engine' in the comment &
replace 'trascatioin' with 'transaction' in the comment &
replace 'descripter' with 'descriptor' in the comment &
replace 'descritpor' with 'descriptor' in the comment &
replace 'rgisters' with 'registers' in the comment.

Signed-off-by: Yan Zhen <yanzhen@vivo.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/20240918034114.860132-1-yanzhen@vivo.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mv_xor_v2.c
drivers/dma/sf-pdma/sf-pdma.c
drivers/dma/sh/shdma-base.c
drivers/dma/sh/usb-dmac.c
drivers/dma/xilinx/zynqmp_dma.c

index d908143c77312f323cf3851ca34ca99952739488..cad4d4fb51ac35954f84267ed4fd27cccd2fcd2c 100644 (file)
@@ -635,7 +635,7 @@ static int mv_xor_v2_descq_init(struct mv_xor_v2_device *xor_dev)
        writel(MV_XOR_V2_DESC_NUM,
               xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_SIZE_OFF);
 
-       /* write the DESQ address to the DMA enngine*/
+       /* write the DESQ address to the DMA engine*/
        writel(lower_32_bits(xor_dev->hw_desq),
               xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_BALR_OFF);
        writel(upper_32_bits(xor_dev->hw_desq),
index 15b1f4baf357d7ad9210dea196327c18b2d84440..7ad3c29be14679f37d6926dd8f6c5bced1d8dc59 100644 (file)
@@ -354,7 +354,7 @@ static irqreturn_t sf_pdma_done_isr(int irq, void *dev_id)
        if (!residue) {
                tasklet_hi_schedule(&chan->done_tasklet);
        } else {
-               /* submit next trascatioin if possible */
+               /* submit next transaction if possible */
                struct sf_pdma_desc *desc = chan->desc;
 
                desc->src_addr += desc->xfer_size - residue;
index 588c5f409a8087fde3a4e8a38ea3597199ac6f6f..fdd41e1c226360c81cbb9155e76bcc113520dcab 100644 (file)
@@ -961,7 +961,7 @@ void shdma_chan_probe(struct shdma_dev *sdev,
 
        spin_lock_init(&schan->chan_lock);
 
-       /* Init descripter manage list */
+       /* Init descriptor manage list */
        INIT_LIST_HEAD(&schan->ld_queue);
        INIT_LIST_HEAD(&schan->ld_free);
 
index b2081a6126e6fa7eb0aa129c25f4e5be7a4ada7e..7e2b6c97fa2f97f2d3dfe323f684f65278f012ee 100644 (file)
@@ -301,7 +301,7 @@ static struct usb_dmac_desc *usb_dmac_desc_get(struct usb_dmac_chan *chan,
        struct usb_dmac_desc *desc = NULL;
        unsigned long flags;
 
-       /* Get a freed descritpor */
+       /* Get a freed descriptor */
        spin_lock_irqsave(&chan->vc.lock, flags);
        list_for_each_entry(desc, &chan->desc_freed, node) {
                if (sg_len <= desc->sg_allocated_len) {
index 3156eff5deb07c6ec69bbd9a4ddd56c43879c4a0..d05fc5fcc77dcedd32cc23c99d084504647c31aa 100644 (file)
@@ -366,7 +366,7 @@ static void zynqmp_dma_init(struct zynqmp_dma_chan *chan)
        }
        writel(val, chan->regs + ZYNQMP_DMA_DATA_ATTR);
 
-       /* Clearing the interrupt account rgisters */
+       /* Clearing the interrupt account registers */
        val = readl(chan->regs + ZYNQMP_DMA_IRQ_SRC_ACCT);
        val = readl(chan->regs + ZYNQMP_DMA_IRQ_DST_ACCT);