summaryrefslogtreecommitdiff
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2018-07-02 16:04:02 +0300
committerVinod Koul <vkoul@kernel.org>2018-07-02 16:04:02 +0300
commit680302c47513f727063031f7ec4fcac0316241eb (patch)
treecf5d1ec7dd2f625bc4b88b318f26d524a8421f6d /drivers/dma/imx-sdma.c
parentfe5b85c656bcf54468cb1efcd692a491a524ae86 (diff)
downloadlinux-680302c47513f727063031f7ec4fcac0316241eb.tar.xz
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);