diff options
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/at_hdmac.c | 2 | ||||
-rw-r--r-- | drivers/dma/coh901318.c | 2 | ||||
-rw-r--r-- | drivers/dma/intel_mid_dma.c | 8 | ||||
-rw-r--r-- | drivers/dma/intel_mid_dma_regs.h | 4 | ||||
-rw-r--r-- | drivers/dma/mpc512x_dma.c | 2 | ||||
-rw-r--r-- | drivers/dma/ste_dma40.c | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 3d7d705f026..235f53bf494 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c | |||
@@ -167,7 +167,7 @@ static void atc_desc_put(struct at_dma_chan *atchan, struct at_desc *desc) | |||
167 | /** | 167 | /** |
168 | * atc_assign_cookie - compute and assign new cookie | 168 | * atc_assign_cookie - compute and assign new cookie |
169 | * @atchan: channel we work on | 169 | * @atchan: channel we work on |
170 | * @desc: descriptor to asign cookie for | 170 | * @desc: descriptor to assign cookie for |
171 | * | 171 | * |
172 | * Called with atchan->lock held and bh disabled | 172 | * Called with atchan->lock held and bh disabled |
173 | */ | 173 | */ |
diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c index 00deabd9a04..f48e5400651 100644 --- a/drivers/dma/coh901318.c +++ b/drivers/dma/coh901318.c | |||
@@ -529,7 +529,7 @@ static void coh901318_pause(struct dma_chan *chan) | |||
529 | val = readl(virtbase + COH901318_CX_CFG + | 529 | val = readl(virtbase + COH901318_CX_CFG + |
530 | COH901318_CX_CFG_SPACING * channel); | 530 | COH901318_CX_CFG_SPACING * channel); |
531 | 531 | ||
532 | /* Stopping infinit transfer */ | 532 | /* Stopping infinite transfer */ |
533 | if ((val & COH901318_CX_CTRL_TC_ENABLE) == 0 && | 533 | if ((val & COH901318_CX_CTRL_TC_ENABLE) == 0 && |
534 | (val & COH901318_CX_CFG_CH_ENABLE)) | 534 | (val & COH901318_CX_CFG_CH_ENABLE)) |
535 | cohc->stopped = 1; | 535 | cohc->stopped = 1; |
diff --git a/drivers/dma/intel_mid_dma.c b/drivers/dma/intel_mid_dma.c index 798f46a4590..3d4ec38b9b6 100644 --- a/drivers/dma/intel_mid_dma.c +++ b/drivers/dma/intel_mid_dma.c | |||
@@ -911,8 +911,8 @@ static int intel_mid_dma_alloc_chan_resources(struct dma_chan *chan) | |||
911 | 911 | ||
912 | /** | 912 | /** |
913 | * midc_handle_error - Handle DMA txn error | 913 | * midc_handle_error - Handle DMA txn error |
914 | * @mid: controller where error occured | 914 | * @mid: controller where error occurred |
915 | * @midc: chan where error occured | 915 | * @midc: chan where error occurred |
916 | * | 916 | * |
917 | * Scan the descriptor for error | 917 | * Scan the descriptor for error |
918 | */ | 918 | */ |
@@ -1099,7 +1099,7 @@ static int mid_setup_dma(struct pci_dev *pdev) | |||
1099 | dma->mask_reg = ioremap(LNW_PERIPHRAL_MASK_BASE, | 1099 | dma->mask_reg = ioremap(LNW_PERIPHRAL_MASK_BASE, |
1100 | LNW_PERIPHRAL_MASK_SIZE); | 1100 | LNW_PERIPHRAL_MASK_SIZE); |
1101 | if (dma->mask_reg == NULL) { | 1101 | if (dma->mask_reg == NULL) { |
1102 | pr_err("ERR_MDMA:Cant map periphral intr space !!\n"); | 1102 | pr_err("ERR_MDMA:Can't map periphral intr space !!\n"); |
1103 | return -ENOMEM; | 1103 | return -ENOMEM; |
1104 | } | 1104 | } |
1105 | } else | 1105 | } else |
@@ -1373,7 +1373,7 @@ int dma_resume(struct pci_dev *pci) | |||
1373 | pci_restore_state(pci); | 1373 | pci_restore_state(pci); |
1374 | ret = pci_enable_device(pci); | 1374 | ret = pci_enable_device(pci); |
1375 | if (ret) { | 1375 | if (ret) { |
1376 | pr_err("MDMA: device cant be enabled for %x\n", pci->device); | 1376 | pr_err("MDMA: device can't be enabled for %x\n", pci->device); |
1377 | return ret; | 1377 | return ret; |
1378 | } | 1378 | } |
1379 | device->state = RUNNING; | 1379 | device->state = RUNNING; |
diff --git a/drivers/dma/intel_mid_dma_regs.h b/drivers/dma/intel_mid_dma_regs.h index 709fecbdde7..aea5ee88ce0 100644 --- a/drivers/dma/intel_mid_dma_regs.h +++ b/drivers/dma/intel_mid_dma_regs.h | |||
@@ -174,8 +174,8 @@ union intel_mid_dma_cfg_hi { | |||
174 | * @dma: dma device struture pointer | 174 | * @dma: dma device struture pointer |
175 | * @busy: bool representing if ch is busy (active txn) or not | 175 | * @busy: bool representing if ch is busy (active txn) or not |
176 | * @in_use: bool representing if ch is in use or not | 176 | * @in_use: bool representing if ch is in use or not |
177 | * @raw_tfr: raw trf interrupt recieved | 177 | * @raw_tfr: raw trf interrupt received |
178 | * @raw_block: raw block interrupt recieved | 178 | * @raw_block: raw block interrupt received |
179 | */ | 179 | */ |
180 | struct intel_mid_dma_chan { | 180 | struct intel_mid_dma_chan { |
181 | struct dma_chan chan; | 181 | struct dma_chan chan; |
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c index 4f95d31f5a2..b9bae94f201 100644 --- a/drivers/dma/mpc512x_dma.c +++ b/drivers/dma/mpc512x_dma.c | |||
@@ -328,7 +328,7 @@ static irqreturn_t mpc_dma_irq(int irq, void *data) | |||
328 | return IRQ_HANDLED; | 328 | return IRQ_HANDLED; |
329 | } | 329 | } |
330 | 330 | ||
331 | /* proccess completed descriptors */ | 331 | /* process completed descriptors */ |
332 | static void mpc_dma_process_completed(struct mpc_dma *mdma) | 332 | static void mpc_dma_process_completed(struct mpc_dma *mdma) |
333 | { | 333 | { |
334 | dma_cookie_t last_cookie = 0; | 334 | dma_cookie_t last_cookie = 0; |
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index af955de035f..94ee15dd3ae 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -90,7 +90,7 @@ struct d40_lli_pool { | |||
90 | * @lli_log: Same as above but for logical channels. | 90 | * @lli_log: Same as above but for logical channels. |
91 | * @lli_pool: The pool with two entries pre-allocated. | 91 | * @lli_pool: The pool with two entries pre-allocated. |
92 | * @lli_len: Number of llis of current descriptor. | 92 | * @lli_len: Number of llis of current descriptor. |
93 | * @lli_current: Number of transfered llis. | 93 | * @lli_current: Number of transferred llis. |
94 | * @lcla_alloc: Number of LCLA entries allocated. | 94 | * @lcla_alloc: Number of LCLA entries allocated. |
95 | * @txd: DMA engine struct. Used for among other things for communication | 95 | * @txd: DMA engine struct. Used for among other things for communication |
96 | * during a transfer. | 96 | * during a transfer. |
@@ -1214,7 +1214,7 @@ static void dma_tasklet(unsigned long data) | |||
1214 | return; | 1214 | return; |
1215 | 1215 | ||
1216 | err: | 1216 | err: |
1217 | /* Rescue manouver if receiving double interrupts */ | 1217 | /* Rescue manoeuvre if receiving double interrupts */ |
1218 | if (d40c->pending_tx > 0) | 1218 | if (d40c->pending_tx > 0) |
1219 | d40c->pending_tx--; | 1219 | d40c->pending_tx--; |
1220 | spin_unlock_irqrestore(&d40c->lock, flags); | 1220 | spin_unlock_irqrestore(&d40c->lock, flags); |