aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2012-08-04 10:37:53 -0400
committerJiri Kosina <jkosina@suse.cz>2012-09-01 11:57:12 -0400
commitd73111c6d43f08d697a3d986fe3bd8ca796a2096 (patch)
tree37d2c0e7e75c461ce4fa333ed5c7a1d74f2d9ff3 /drivers/dma
parent886db6acf468bb6684e936a5456d470c69a75ef8 (diff)
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/at_hdmac.c8
-rw-r--r--drivers/dma/ep93xx_dma.c2
-rw-r--r--drivers/dma/fsldma.c2
-rw-r--r--drivers/dma/imx-dma.c4
-rw-r--r--drivers/dma/intel_mid_dma_regs.h6
-rw-r--r--drivers/dma/pl330.c2
-rw-r--r--drivers/dma/ppc4xx/adma.c2
-rw-r--r--drivers/dma/ste_dma40_ll.h2
8 files changed, 14 insertions, 14 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index 7292aa87b2dd..7efd763acb31 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -169,9 +169,9 @@ static void atc_desc_put(struct at_dma_chan *atchan, struct at_desc *desc)
169} 169}
170 170
171/** 171/**
172 * atc_desc_chain - build chain adding a descripor 172 * atc_desc_chain - build chain adding a descriptor
173 * @first: address of first descripor of the chain 173 * @first: address of first descriptor of the chain
174 * @prev: address of previous descripor of the chain 174 * @prev: address of previous descriptor of the chain
175 * @desc: descriptor to queue 175 * @desc: descriptor to queue
176 * 176 *
177 * Called from prep_* functions 177 * Called from prep_* functions
@@ -786,7 +786,7 @@ err_out:
786} 786}
787 787
788/** 788/**
789 * atc_dma_cyclic_fill_desc - Fill one period decriptor 789 * atc_dma_cyclic_fill_desc - Fill one period descriptor
790 */ 790 */
791static int 791static int
792atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc, 792atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
diff --git a/drivers/dma/ep93xx_dma.c b/drivers/dma/ep93xx_dma.c
index c64917ec313d..bb02fd981afb 100644
--- a/drivers/dma/ep93xx_dma.c
+++ b/drivers/dma/ep93xx_dma.c
@@ -1118,7 +1118,7 @@ fail:
1118 * @chan: channel 1118 * @chan: channel
1119 * @dma_addr: DMA mapped address of the buffer 1119 * @dma_addr: DMA mapped address of the buffer
1120 * @buf_len: length of the buffer (in bytes) 1120 * @buf_len: length of the buffer (in bytes)
1121 * @period_len: lenght of a single period 1121 * @period_len: length of a single period
1122 * @dir: direction of the operation 1122 * @dir: direction of the operation
1123 * @context: operation context (ignored) 1123 * @context: operation context (ignored)
1124 * 1124 *
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index 8f84761f98ba..094437b9d823 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -1015,7 +1015,7 @@ static irqreturn_t fsldma_chan_irq(int irq, void *data)
1015 /* 1015 /*
1016 * Programming Error 1016 * Programming Error
1017 * The DMA_INTERRUPT async_tx is a NULL transfer, which will 1017 * The DMA_INTERRUPT async_tx is a NULL transfer, which will
1018 * triger a PE interrupt. 1018 * trigger a PE interrupt.
1019 */ 1019 */
1020 if (stat & FSL_DMA_SR_PE) { 1020 if (stat & FSL_DMA_SR_PE) {
1021 chan_dbg(chan, "irq: Programming Error INT\n"); 1021 chan_dbg(chan, "irq: Programming Error INT\n");
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
index fcfeb3cd8d31..5a49d8d7b71f 100644
--- a/drivers/dma/imx-dma.c
+++ b/drivers/dma/imx-dma.c
@@ -571,8 +571,8 @@ static void imxdma_tasklet(unsigned long data)
571 if (desc->desc.callback) 571 if (desc->desc.callback)
572 desc->desc.callback(desc->desc.callback_param); 572 desc->desc.callback(desc->desc.callback_param);
573 573
574 /* If we are dealing with a cyclic descriptor keep it on ld_active 574 /* If we are dealing with a cyclic descriptor, keep it on ld_active
575 * and dont mark the descripor as complete. 575 * and dont mark the descriptor as complete.
576 * Only in non-cyclic cases it would be marked as complete 576 * Only in non-cyclic cases it would be marked as complete
577 */ 577 */
578 if (imxdma_chan_is_doing_cyclic(imxdmac)) 578 if (imxdma_chan_is_doing_cyclic(imxdmac))
diff --git a/drivers/dma/intel_mid_dma_regs.h b/drivers/dma/intel_mid_dma_regs.h
index 1bfa9268feaf..17b42192ea58 100644
--- a/drivers/dma/intel_mid_dma_regs.h
+++ b/drivers/dma/intel_mid_dma_regs.h
@@ -168,9 +168,9 @@ union intel_mid_dma_cfg_hi {
168 * @active_list: current active descriptors 168 * @active_list: current active descriptors
169 * @queue: current queued up descriptors 169 * @queue: current queued up descriptors
170 * @free_list: current free descriptors 170 * @free_list: current free descriptors
171 * @slave: dma slave struture 171 * @slave: dma slave structure
172 * @descs_allocated: total number of decsiptors allocated 172 * @descs_allocated: total number of descriptors allocated
173 * @dma: dma device struture pointer 173 * @dma: dma device structure pointer
174 * @busy: bool representing if ch is busy (active txn) or not 174 * @busy: bool representing if ch is busy (active txn) or not
175 * @in_use: bool representing if ch is in use or not 175 * @in_use: bool representing if ch is in use or not
176 * @raw_tfr: raw trf interrupt received 176 * @raw_tfr: raw trf interrupt received
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index e4feba6b03c0..2343d7d6b051 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -522,7 +522,7 @@ enum desc_status {
522 /* In the DMAC pool */ 522 /* In the DMAC pool */
523 FREE, 523 FREE,
524 /* 524 /*
525 * Allocted to some channel during prep_xxx 525 * Allocated to some channel during prep_xxx
526 * Also may be sitting on the work_list. 526 * Also may be sitting on the work_list.
527 */ 527 */
528 PREP, 528 PREP,
diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c
index ced98826684a..f72348d0bc41 100644
--- a/drivers/dma/ppc4xx/adma.c
+++ b/drivers/dma/ppc4xx/adma.c
@@ -4446,7 +4446,7 @@ static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev)
4446 ret = -ENOMEM; 4446 ret = -ENOMEM;
4447 goto err_dma_alloc; 4447 goto err_dma_alloc;
4448 } 4448 }
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",
4450 adev->dma_desc_pool_virt, (u64)adev->dma_desc_pool); 4450 adev->dma_desc_pool_virt, (u64)adev->dma_desc_pool);
4451 4451
4452 regs = ioremap(res.start, resource_size(&res)); 4452 regs = ioremap(res.start, resource_size(&res));
diff --git a/drivers/dma/ste_dma40_ll.h b/drivers/dma/ste_dma40_ll.h
index 51e8e5396e9b..6d47373f3f58 100644
--- a/drivers/dma/ste_dma40_ll.h
+++ b/drivers/dma/ste_dma40_ll.h
@@ -202,7 +202,7 @@
202/* LLI related structures */ 202/* LLI related structures */
203 203
204/** 204/**
205 * struct d40_phy_lli - The basic configration register for each physical 205 * struct d40_phy_lli - The basic configuration register for each physical
206 * channel. 206 * channel.
207 * 207 *
208 * @reg_cfg: The configuration register. 208 * @reg_cfg: The configuration register.