Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: fix typo in the comment

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>

authored by

Yan Zhen and committed by
Vinod Koul
39d283d1 e713468e

+5 -5
+1 -1
drivers/dma/mv_xor_v2.c
··· 635 635 writel(MV_XOR_V2_DESC_NUM, 636 636 xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_SIZE_OFF); 637 637 638 - /* write the DESQ address to the DMA enngine*/ 638 + /* write the DESQ address to the DMA engine*/ 639 639 writel(lower_32_bits(xor_dev->hw_desq), 640 640 xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_BALR_OFF); 641 641 writel(upper_32_bits(xor_dev->hw_desq),
+1 -1
drivers/dma/sf-pdma/sf-pdma.c
··· 354 354 if (!residue) { 355 355 tasklet_hi_schedule(&chan->done_tasklet); 356 356 } else { 357 - /* submit next trascatioin if possible */ 357 + /* submit next transaction if possible */ 358 358 struct sf_pdma_desc *desc = chan->desc; 359 359 360 360 desc->src_addr += desc->xfer_size - residue;
+1 -1
drivers/dma/sh/shdma-base.c
··· 961 961 962 962 spin_lock_init(&schan->chan_lock); 963 963 964 - /* Init descripter manage list */ 964 + /* Init descriptor manage list */ 965 965 INIT_LIST_HEAD(&schan->ld_queue); 966 966 INIT_LIST_HEAD(&schan->ld_free); 967 967
+1 -1
drivers/dma/sh/usb-dmac.c
··· 301 301 struct usb_dmac_desc *desc = NULL; 302 302 unsigned long flags; 303 303 304 - /* Get a freed descritpor */ 304 + /* Get a freed descriptor */ 305 305 spin_lock_irqsave(&chan->vc.lock, flags); 306 306 list_for_each_entry(desc, &chan->desc_freed, node) { 307 307 if (sg_len <= desc->sg_allocated_len) {
+1 -1
drivers/dma/xilinx/zynqmp_dma.c
··· 366 366 } 367 367 writel(val, chan->regs + ZYNQMP_DMA_DATA_ATTR); 368 368 369 - /* Clearing the interrupt account rgisters */ 369 + /* Clearing the interrupt account registers */ 370 370 val = readl(chan->regs + ZYNQMP_DMA_IRQ_SRC_ACCT); 371 371 val = readl(chan->regs + ZYNQMP_DMA_IRQ_DST_ACCT); 372 372