Skip to content

Commit d73111c

Browse files
standby24x7Jiri Kosina
authored andcommitted
dma: fix comments
Correct spelling typo in drivers/dma. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 886db6a commit d73111c

8 files changed

Lines changed: 14 additions & 14 deletions

File tree

‎drivers/dma/at_hdmac.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ static void atc_desc_put(struct at_dma_chan *atchan, struct at_desc *desc)
169169
}
170170

171171
/**
172-
* atc_desc_chain - build chain adding a descripor
173-
* @first: address of first descripor of the chain
174-
* @prev: address of previous descripor of the chain
172+
* atc_desc_chain - build chain adding a descriptor
173+
* @first: address of first descriptor of the chain
174+
* @prev: address of previous descriptor of the chain
175175
* @desc: descriptor to queue
176176
*
177177
* Called from prep_* functions
@@ -786,7 +786,7 @@ atc_dma_cyclic_check_values(unsigned int reg_width, dma_addr_t buf_addr,
786786
}
787787

788788
/**
789-
* atc_dma_cyclic_fill_desc - Fill one period decriptor
789+
* atc_dma_cyclic_fill_desc - Fill one period descriptor
790790
*/
791791
static int
792792
atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,

‎drivers/dma/ep93xx_dma.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ ep93xx_dma_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
11181118
* @chan: channel
11191119
* @dma_addr: DMA mapped address of the buffer
11201120
* @buf_len: length of the buffer (in bytes)
1121-
* @period_len: lenght of a single period
1121+
* @period_len: length of a single period
11221122
* @dir: direction of the operation
11231123
* @context: operation context (ignored)
11241124
*

‎drivers/dma/fsldma.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ static irqreturn_t fsldma_chan_irq(int irq, void *data)
10151015
/*
10161016
* Programming Error
10171017
* The DMA_INTERRUPT async_tx is a NULL transfer, which will
1018-
* triger a PE interrupt.
1018+
* trigger a PE interrupt.
10191019
*/
10201020
if (stat & FSL_DMA_SR_PE) {
10211021
chan_dbg(chan, "irq: Programming Error INT\n");

‎drivers/dma/imx-dma.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,8 @@ static void imxdma_tasklet(unsigned long data)
571571
if (desc->desc.callback)
572572
desc->desc.callback(desc->desc.callback_param);
573573

574-
/* If we are dealing with a cyclic descriptor keep it on ld_active
575-
* and dont mark the descripor as complete.
574+
/* If we are dealing with a cyclic descriptor, keep it on ld_active
575+
* and dont mark the descriptor as complete.
576576
* Only in non-cyclic cases it would be marked as complete
577577
*/
578578
if (imxdma_chan_is_doing_cyclic(imxdmac))

‎drivers/dma/intel_mid_dma_regs.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ union intel_mid_dma_cfg_hi {
168168
* @active_list: current active descriptors
169169
* @queue: current queued up descriptors
170170
* @free_list: current free descriptors
171-
* @slave: dma slave struture
172-
* @descs_allocated: total number of decsiptors allocated
173-
* @dma: dma device struture pointer
171+
* @slave: dma slave structure
172+
* @descs_allocated: total number of descriptors allocated
173+
* @dma: dma device structure pointer
174174
* @busy: bool representing if ch is busy (active txn) or not
175175
* @in_use: bool representing if ch is in use or not
176176
* @raw_tfr: raw trf interrupt received

‎drivers/dma/pl330.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ enum desc_status {
522522
/* In the DMAC pool */
523523
FREE,
524524
/*
525-
* Allocted to some channel during prep_xxx
525+
* Allocated to some channel during prep_xxx
526526
* Also may be sitting on the work_list.
527527
*/
528528
PREP,

‎drivers/dma/ppc4xx/adma.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4446,7 +4446,7 @@ static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev)
44464446
ret = -ENOMEM;
44474447
goto err_dma_alloc;
44484448
}
4449-
dev_dbg(&ofdev->dev, "allocted descriptor pool virt 0x%p phys 0x%llx\n",
4449+
dev_dbg(&ofdev->dev, "allocated descriptor pool virt 0x%p phys 0x%llx\n",
44504450
adev->dma_desc_pool_virt, (u64)adev->dma_desc_pool);
44514451

44524452
regs = ioremap(res.start, resource_size(&res));

‎drivers/dma/ste_dma40_ll.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
/* LLI related structures */
203203

204204
/**
205-
* struct d40_phy_lli - The basic configration register for each physical
205+
* struct d40_phy_lli - The basic configuration register for each physical
206206
* channel.
207207
*
208208
* @reg_cfg: The configuration register.

0 commit comments

Comments
 (0)