Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d73111c6 authored by Masanari Iida's avatar Masanari Iida Committed by Jiri Kosina
Browse files

dma: fix comments



Correct spelling typo in drivers/dma.

Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 886db6ac
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -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
 * atc_desc_chain - build chain adding a descriptor
 * @first: address of first descripor of the chain
 * @first: address of first descriptor of the chain
 * @prev: address of previous descripor of the chain
 * @prev: address of previous descriptor of the chain
 * @desc: descriptor to queue
 * @desc: descriptor to queue
 *
 *
 * Called from prep_* functions
 * 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
static int
atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
+1 −1
Original line number Original line Diff line number Diff line
@@ -1118,7 +1118,7 @@ fail:
 * @chan: channel
 * @chan: channel
 * @dma_addr: DMA mapped address of the buffer
 * @dma_addr: DMA mapped address of the buffer
 * @buf_len: length of the buffer (in bytes)
 * @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
 * @dir: direction of the operation
 * @context: operation context (ignored)
 * @context: operation context (ignored)
 *
 *
+1 −1
Original line number Original line Diff line number Diff line
@@ -1015,7 +1015,7 @@ static irqreturn_t fsldma_chan_irq(int irq, void *data)
	/*
	/*
	 * Programming Error
	 * Programming Error
	 * The DMA_INTERRUPT async_tx is a NULL transfer, which will
	 * 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) {
	if (stat & FSL_DMA_SR_PE) {
		chan_dbg(chan, "irq: Programming Error INT\n");
		chan_dbg(chan, "irq: Programming Error INT\n");
+2 −2
Original line number Original line Diff line number Diff line
@@ -571,8 +571,8 @@ static void imxdma_tasklet(unsigned long data)
	if (desc->desc.callback)
	if (desc->desc.callback)
		desc->desc.callback(desc->desc.callback_param);
		desc->desc.callback(desc->desc.callback_param);


	/* If we are dealing with a cyclic descriptor keep it on ld_active
	/* If we are dealing with a cyclic descriptor, keep it on ld_active
	 * and dont mark the descripor as complete.
	 * and dont mark the descriptor as complete.
	 * Only in non-cyclic cases it would be marked as complete
	 * Only in non-cyclic cases it would be marked as complete
	 */
	 */
	if (imxdma_chan_is_doing_cyclic(imxdmac))
	if (imxdma_chan_is_doing_cyclic(imxdmac))
+3 −3
Original line number Original line Diff line number Diff line
@@ -168,9 +168,9 @@ union intel_mid_dma_cfg_hi {
 * @active_list: current active descriptors
 * @active_list: current active descriptors
 * @queue: current queued up descriptors
 * @queue: current queued up descriptors
 * @free_list: current free descriptors
 * @free_list: current free descriptors
 * @slave: dma slave struture
 * @slave: dma slave structure
 * @descs_allocated: total number of decsiptors allocated
 * @descs_allocated: total number of descriptors allocated
 * @dma: dma device struture pointer
 * @dma: dma device structure pointer
 * @busy: bool representing if ch is busy (active txn) or not
 * @busy: bool representing if ch is busy (active txn) or not
 * @in_use: bool representing if ch is in use or not
 * @in_use: bool representing if ch is in use or not
 * @raw_tfr: raw trf interrupt received
 * @raw_tfr: raw trf interrupt received
Loading