]> Pileus Git - ~andy/linux/commitdiff
dma: fix comments
authorMasanari Iida <standby24x7@gmail.com>
Sat, 4 Aug 2012 14:37:53 +0000 (23:37 +0900)
committerJiri Kosina <jkosina@suse.cz>
Sat, 1 Sep 2012 15:57:12 +0000 (08:57 -0700)
Correct spelling typo in drivers/dma.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/dma/at_hdmac.c
drivers/dma/ep93xx_dma.c
drivers/dma/fsldma.c
drivers/dma/imx-dma.c
drivers/dma/intel_mid_dma_regs.h
drivers/dma/pl330.c
drivers/dma/ppc4xx/adma.c
drivers/dma/ste_dma40_ll.h

index 7292aa87b2dd3fb54a4797f7c676d74a6a047713..7efd763acb31548262321fe67fcb27f67a3c648a 100644 (file)
@@ -169,9 +169,9 @@ static void atc_desc_put(struct at_dma_chan *atchan, struct at_desc *desc)
 }
 
 /**
- * atc_desc_chain - build chain adding a descripor
- * @first: address of first descripor of the chain
- * @prev: address of previous descripor of the chain
+ * atc_desc_chain - build chain adding a descriptor
+ * @first: address of first descriptor of the chain
+ * @prev: address of previous descriptor of the chain
  * @desc: descriptor to queue
  *
  * Called from prep_* functions
@@ -786,7 +786,7 @@ err_out:
 }
 
 /**
- * atc_dma_cyclic_fill_desc - Fill one period decriptor
+ * atc_dma_cyclic_fill_desc - Fill one period descriptor
  */
 static int
 atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
index c64917ec313dc25d501ad41312fa8e898df8e003..bb02fd981afb1c5c3566265ea3d682b135a193ce 100644 (file)
@@ -1118,7 +1118,7 @@ fail:
  * @chan: channel
  * @dma_addr: DMA mapped address of the buffer
  * @buf_len: length of the buffer (in bytes)
- * @period_len: lenght of a single period
+ * @period_len: length of a single period
  * @dir: direction of the operation
  * @context: operation context (ignored)
  *
index 8f84761f98ba0d584b9b7a979e7fdd3c1beb8464..094437b9d823991dc7e1adf47bd8b31c0d81be97 100644 (file)
@@ -1015,7 +1015,7 @@ static irqreturn_t fsldma_chan_irq(int irq, void *data)
        /*
         * Programming Error
         * The DMA_INTERRUPT async_tx is a NULL transfer, which will
-        * triger a PE interrupt.
+        * trigger a PE interrupt.
         */
        if (stat & FSL_DMA_SR_PE) {
                chan_dbg(chan, "irq: Programming Error INT\n");
index fcfeb3cd8d3170aff7c30d6d151a0e7e15ecd968..5a49d8d7b71fa5aa411da0052c351dc679bb1d90 100644 (file)
@@ -571,8 +571,8 @@ static void imxdma_tasklet(unsigned long data)
        if (desc->desc.callback)
                desc->desc.callback(desc->desc.callback_param);
 
-       /* If we are dealing with a cyclic descriptor keep it on ld_active
-        * and dont mark the descripor as complete.
+       /* If we are dealing with a cyclic descriptor, keep it on ld_active
+        * and dont mark the descriptor as complete.
         * Only in non-cyclic cases it would be marked as complete
         */
        if (imxdma_chan_is_doing_cyclic(imxdmac))
index 1bfa9268feafebb944a7eb32c203d29ca8097afb..17b42192ea58904239e66578681092dd05ae53ae 100644 (file)
@@ -168,9 +168,9 @@ union intel_mid_dma_cfg_hi {
  * @active_list: current active descriptors
  * @queue: current queued up descriptors
  * @free_list: current free descriptors
- * @slave: dma slave struture
- * @descs_allocated: total number of decsiptors allocated
- * @dma: dma device struture pointer
+ * @slave: dma slave structure
+ * @descs_allocated: total number of descriptors allocated
+ * @dma: dma device structure pointer
  * @busy: bool representing if ch is busy (active txn) or not
  * @in_use: bool representing if ch is in use or not
  * @raw_tfr: raw trf interrupt received
index e4feba6b03c00e6f2ae412a9a1104eef21fb94f4..2343d7d6b05156291d360fa4705a2ae2f3848695 100644 (file)
@@ -522,7 +522,7 @@ enum desc_status {
        /* In the DMAC pool */
        FREE,
        /*
-        * Allocted to some channel during prep_xxx
+        * Allocated to some channel during prep_xxx
         * Also may be sitting on the work_list.
         */
        PREP,
index ced98826684ae65da86539ab6fa4dad531503aa4..f72348d0bc415b9e4355ead36a34132041b521a3 100644 (file)
@@ -4446,7 +4446,7 @@ static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev)
                ret = -ENOMEM;
                goto err_dma_alloc;
        }
-       dev_dbg(&ofdev->dev, "allocted descriptor pool virt 0x%p phys 0x%llx\n",
+       dev_dbg(&ofdev->dev, "allocated descriptor pool virt 0x%p phys 0x%llx\n",
                adev->dma_desc_pool_virt, (u64)adev->dma_desc_pool);
 
        regs = ioremap(res.start, resource_size(&res));
index 51e8e5396e9bd960dbc9f51925567a7b8f768275..6d47373f3f5893c86fad20976285138faaaf3758 100644 (file)
 /* LLI related structures */
 
 /**
- * struct d40_phy_lli - The basic configration register for each physical
+ * struct d40_phy_lli - The basic configuration register for each physical
  * channel.
  *
  * @reg_cfg: The configuration register.