summaryrefslogtreecommitdiff
path: root/drivers/dma/sf-pdma
diff options
context:
space:
mode:
authorYan Zhen <yanzhen@vivo.com>2024-09-18 11:41:14 +0800
committerVinod Koul <vkoul@kernel.org>2024-10-21 23:07:08 +0530
commit39d283d146922a266e8196e7fd29b31feff528be (patch)
treee63669def19898752e9f31a01d0aa2b521c2adb7 /drivers/dma/sf-pdma
parente713468e7c104a0598a7ec31ab7ec0bec94a174d (diff)
downloadlwn-39d283d146922a266e8196e7fd29b31feff528be.tar.gz
lwn-39d283d146922a266e8196e7fd29b31feff528be.zip
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>
Diffstat (limited to 'drivers/dma/sf-pdma')
-rw-r--r--drivers/dma/sf-pdma/sf-pdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sf-pdma/sf-pdma.c b/drivers/dma/sf-pdma/sf-pdma.c
index 15b1f4baf357..7ad3c29be146 100644
--- a/drivers/dma/sf-pdma/sf-pdma.c
+++ b/drivers/dma/sf-pdma/sf-pdma.c
@@ -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;