summaryrefslogtreecommitdiffstats
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorVinod Koul2018-07-02 15:04:02 +0200
committerVinod Koul2018-07-02 15:04:02 +0200
commit680302c47513f727063031f7ec4fcac0316241eb (patch)
treecf5d1ec7dd2f625bc4b88b318f26d524a8421f6d /drivers/dma/imx-sdma.c
parentdmaengine: imx-sdma: alloclate bd memory from dma pool (diff)
downloadkernel-qcow2-linux-680302c47513f727063031f7ec4fcac0316241eb.tar.gz
kernel-qcow2-linux-680302c47513f727063031f7ec4fcac0316241eb.tar.xz
kernel-qcow2-linux-680302c47513f727063031f7ec4fcac0316241eb.zip
dmaengine: imx-sdma: Fix some typos
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r--drivers/dma/imx-sdma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 7dab7e949efa..d650065f42dd 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -297,9 +297,9 @@ struct sdma_engine;
* @buf_ptail ID of the previous buffer that was processed
* @period_len period length, used in cyclic.
* @chn_real_count the real count updated from bd->mode.count
- * @chn_count the transfer count setuped
+ * @chn_count the transfer count set
* @sdmac sdma_channel pointer
- * @bd pointer of alloced bd
+ * @bd pointer of allocate bd
*/
struct sdma_desc {
struct virt_dma_desc vd;
@@ -708,7 +708,7 @@ static void sdma_start_desc(struct sdma_channel *sdmac)
sdmac->desc = desc = to_sdma_desc(&vd->tx);
/*
* Do not delete the node in desc_issued list in cyclic mode, otherwise
- * the desc alloced will never be freed in vchan_dma_desc_free_list
+ * the desc allocated will never be freed in vchan_dma_desc_free_list
*/
if (!(sdmac->flags & IMX_DMA_SG_LOOP))
list_del(&vd->node);