Skip to content

Commit a688efe

Browse files
AmitVadhavana14vinodkoul
authored andcommitted
dmaengine: Fix spelling mistakes
Correct spelling mistakes in the DMA engine to improve readability and clarity without altering functionality. Signed-off-by: Amit Vadhavana <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Reviewed-by: Fenghua Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 5d318b5 commit a688efe

34 files changed

+49
-49
lines changed

drivers/dma/acpi-dma.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static int acpi_dma_parse_resource_group(const struct acpi_csrt_group *grp,
112112
}
113113

114114
/**
115-
* acpi_dma_parse_csrt - parse CSRT to exctract additional DMA resources
115+
* acpi_dma_parse_csrt - parse CSRT to extract additional DMA resources
116116
* @adev: ACPI device to match with
117117
* @adma: struct acpi_dma of the given DMA controller
118118
*
@@ -305,7 +305,7 @@ EXPORT_SYMBOL_GPL(devm_acpi_dma_controller_free);
305305
* found.
306306
*
307307
* Return:
308-
* 0, if no information is avaiable, -1 on mismatch, and 1 otherwise.
308+
* 0, if no information is available, -1 on mismatch, and 1 otherwise.
309309
*/
310310
static int acpi_dma_update_dma_spec(struct acpi_dma *adma,
311311
struct acpi_dma_spec *dma_spec)

drivers/dma/altera-msgdma.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ struct msgdma_extended_desc {
153153
/**
154154
* struct msgdma_sw_desc - implements a sw descriptor
155155
* @async_tx: support for the async_tx api
156-
* @hw_desc: assosiated HW descriptor
156+
* @hw_desc: associated HW descriptor
157157
* @node: node to move from the free list to the tx list
158158
* @tx_list: transmit list node
159159
*/
@@ -511,7 +511,7 @@ static void msgdma_copy_one(struct msgdma_device *mdev,
511511
* of the DMA controller. The descriptor will get flushed to the
512512
* FIFO, once the last word (control word) is written. Since we
513513
* are not 100% sure that memcpy() writes all word in the "correct"
514-
* oder (address from low to high) on all architectures, we make
514+
* order (address from low to high) on all architectures, we make
515515
* sure this control word is written last by single coding it and
516516
* adding some write-barriers here.
517517
*/

drivers/dma/amba-pl08x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* Copyright (c) 2006 ARM Ltd.
44
* Copyright (c) 2010 ST-Ericsson SA
5-
* Copyirght (c) 2017 Linaro Ltd.
5+
* Copyright (c) 2017 Linaro Ltd.
66
*
77
* Author: Peter Pearse <[email protected]>
88
* Author: Linus Walleij <[email protected]>

drivers/dma/at_hdmac.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static inline u8 convert_buswidth(enum dma_slave_buswidth addr_width)
339339
* @regs: memory mapped register base
340340
* @clk: dma controller clock
341341
* @save_imr: interrupt mask register that is saved on suspend/resume cycle
342-
* @all_chan_mask: all channels availlable in a mask
342+
* @all_chan_mask: all channels available in a mask
343343
* @lli_pool: hw lli table
344344
* @memset_pool: hw memset pool
345345
* @chan: channels table to store at_dma_chan structures
@@ -668,7 +668,7 @@ static inline u32 atc_calc_bytes_left(u32 current_len, u32 ctrla)
668668
* CTRLA is read in turn, next the DSCR is read a second time. If the two
669669
* consecutive read values of the DSCR are the same then we assume both refers
670670
* to the very same LLI as well as the CTRLA value read inbetween does. For
671-
* cyclic tranfers, the assumption is that a full loop is "not so fast". If the
671+
* cyclic transfers, the assumption is that a full loop is "not so fast". If the
672672
* two DSCR values are different, we read again the CTRLA then the DSCR till two
673673
* consecutive read values from DSCR are equal or till the maximum trials is
674674
* reach. This algorithm is very unlikely not to find a stable value for DSCR.
@@ -700,7 +700,7 @@ static int atc_get_llis_residue(struct at_dma_chan *atchan,
700700
break;
701701

702702
/*
703-
* DSCR has changed inside the DMA controller, so the previouly
703+
* DSCR has changed inside the DMA controller, so the previously
704704
* read value of CTRLA may refer to an already processed
705705
* descriptor hence could be outdated. We need to update ctrla
706706
* to match the current descriptor.

drivers/dma/bcm-sba-raid.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* number of hardware rings over one or more SBA hardware devices. By
1616
* design, the internal buffer size of SBA hardware device is limited
1717
* but all offload operations supported by SBA can be broken down into
18-
* multiple small size requests and executed parallely on multiple SBA
18+
* multiple small size requests and executed parallelly on multiple SBA
1919
* hardware devices for achieving high through-put.
2020
*
2121
* The Broadcom SBA RAID driver does not require any register programming
@@ -135,7 +135,7 @@ struct sba_device {
135135
u32 max_xor_srcs;
136136
u32 max_resp_pool_size;
137137
u32 max_cmds_pool_size;
138-
/* Maibox client and Mailbox channels */
138+
/* Mailbox client and Mailbox channels */
139139
struct mbox_client client;
140140
struct mbox_chan *mchan;
141141
struct device *mbox_dev;

drivers/dma/bcm2835-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ static struct bcm2835_desc *bcm2835_dma_create_cb_chain(
369369
/* the last frame requires extra flags */
370370
d->cb_list[d->frames - 1].cb->info |= finalextrainfo;
371371

372-
/* detect a size missmatch */
372+
/* detect a size mismatch */
373373
if (buf_len && (d->size != buf_len))
374374
goto error_cb;
375375

drivers/dma/ep93xx_dma.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ static dma_cookie_t ep93xx_dma_tx_submit(struct dma_async_tx_descriptor *tx)
841841
desc = container_of(tx, struct ep93xx_dma_desc, txd);
842842

843843
/*
844-
* If nothing is currently prosessed, we push this descriptor
844+
* If nothing is currently processed, we push this descriptor
845845
* directly to the hardware. Otherwise we put the descriptor
846846
* to the pending queue.
847847
*/
@@ -1025,7 +1025,7 @@ ep93xx_dma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest,
10251025
* @chan: channel
10261026
* @sgl: list of buffers to transfer
10271027
* @sg_len: number of entries in @sgl
1028-
* @dir: direction of tha DMA transfer
1028+
* @dir: direction of the DMA transfer
10291029
* @flags: flags for the descriptor
10301030
* @context: operation context (ignored)
10311031
*

drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ struct dpaa2_qdma_sd_d {
1212
u32 rsv:32;
1313
union {
1414
struct {
15-
u32 ssd:12; /* souce stride distance */
16-
u32 sss:12; /* souce stride size */
15+
u32 ssd:12; /* source stride distance */
16+
u32 sss:12; /* source stride size */
1717
u32 rsv1:8;
1818
} sdf;
1919
struct {
@@ -48,7 +48,7 @@ struct dpaa2_qdma_sd_d {
4848
#define QDMA_SER_DISABLE (8) /* no notification */
4949
#define QDMA_SER_CTX BIT(8) /* notification by FQD_CTX[fqid] */
5050
#define QDMA_SER_DEST (2 << 8) /* notification by destination desc */
51-
#define QDMA_SER_BOTH (3 << 8) /* soruce and dest notification */
51+
#define QDMA_SER_BOTH (3 << 8) /* source and dest notification */
5252
#define QDMA_FD_SPF_ENALBE BIT(30) /* source prefetch enable */
5353

5454
#define QMAN_FD_VA_ENABLE BIT(14) /* Address used is virtual address */

drivers/dma/hisi_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ static void hisi_dma_init_hw_qp(struct hisi_dma_dev *hdma_dev, u32 index)
677677
writel_relaxed(tmp, addr);
678678

679679
/*
680-
* 0 - dma should process FLR whith CPU.
680+
* 0 - dma should process FLR with CPU.
681681
* 1 - dma not process FLR, only cpu process FLR.
682682
*/
683683
addr = q_base + HISI_DMA_HIP09_DMA_FLR_DISABLE +

drivers/dma/idma64.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ static void idma64_desc_fill(struct idma64_chan *idma64c,
290290
desc->length += hw->len;
291291
} while (i);
292292

293-
/* Trigger an interrupt after the last block is transfered */
293+
/* Trigger an interrupt after the last block is transferred */
294294
lli->ctllo |= IDMA64C_CTLL_INT_EN;
295295

296296
/* Disable LLP transfer in the last block */
@@ -364,7 +364,7 @@ static size_t idma64_active_desc_size(struct idma64_chan *idma64c)
364364
if (!i)
365365
return bytes;
366366

367-
/* The current chunk is not fully transfered yet */
367+
/* The current chunk is not fully transferred yet */
368368
bytes += desc->hw[--i].len;
369369

370370
return bytes - IDMA64C_CTLH_BLOCK_TS(ctlhi);

0 commit comments

Comments
 (0)