Skip to content

Commit 39d283d

Browse files
Yan Zhenvinodkoul
authored andcommitted
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>
1 parent e713468 commit 39d283d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

drivers/dma/mv_xor_v2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ static int mv_xor_v2_descq_init(struct mv_xor_v2_device *xor_dev)
635635
writel(MV_XOR_V2_DESC_NUM,
636636
xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_SIZE_OFF);
637637

638-
/* write the DESQ address to the DMA enngine*/
638+
/* write the DESQ address to the DMA engine*/
639639
writel(lower_32_bits(xor_dev->hw_desq),
640640
xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_BALR_OFF);
641641
writel(upper_32_bits(xor_dev->hw_desq),

drivers/dma/sf-pdma/sf-pdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ static irqreturn_t sf_pdma_done_isr(int irq, void *dev_id)
354354
if (!residue) {
355355
tasklet_hi_schedule(&chan->done_tasklet);
356356
} else {
357-
/* submit next trascatioin if possible */
357+
/* submit next transaction if possible */
358358
struct sf_pdma_desc *desc = chan->desc;
359359

360360
desc->src_addr += desc->xfer_size - residue;

drivers/dma/sh/shdma-base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ void shdma_chan_probe(struct shdma_dev *sdev,
961961

962962
spin_lock_init(&schan->chan_lock);
963963

964-
/* Init descripter manage list */
964+
/* Init descriptor manage list */
965965
INIT_LIST_HEAD(&schan->ld_queue);
966966
INIT_LIST_HEAD(&schan->ld_free);
967967

drivers/dma/sh/usb-dmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ static struct usb_dmac_desc *usb_dmac_desc_get(struct usb_dmac_chan *chan,
301301
struct usb_dmac_desc *desc = NULL;
302302
unsigned long flags;
303303

304-
/* Get a freed descritpor */
304+
/* Get a freed descriptor */
305305
spin_lock_irqsave(&chan->vc.lock, flags);
306306
list_for_each_entry(desc, &chan->desc_freed, node) {
307307
if (sg_len <= desc->sg_allocated_len) {

drivers/dma/xilinx/zynqmp_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static void zynqmp_dma_init(struct zynqmp_dma_chan *chan)
366366
}
367367
writel(val, chan->regs + ZYNQMP_DMA_DATA_ATTR);
368368

369-
/* Clearing the interrupt account rgisters */
369+
/* Clearing the interrupt account registers */
370370
val = readl(chan->regs + ZYNQMP_DMA_IRQ_SRC_ACCT);
371371
val = readl(chan->regs + ZYNQMP_DMA_IRQ_DST_ACCT);
372372

0 commit comments

Comments
 (0)