aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2020-04-17 22:10:03 +0530
committerVinod Koul <vkoul@kernel.org>2020-04-17 22:10:03 +0530
commit6525eef2a5e8eaadef5756d73b9b154b9c5cdd99 (patch)
tree2ede2971f832ceb62eb527906c49364eeafe6f85
parent38ab0d0f5c762024c0a8a0d6d096e2ca3f7652ea (diff)
downloadslave-dma-dev/terminate_single.tar.gz
dmaengine: fix some typosdev/terminate_single
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--include/linux/dmaengine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 430e6385abfb7..11863383d0bfe 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -1097,7 +1097,7 @@ static inline int dmaengine_terminate_cookie(struct dma_chan *chan,
* dmaengine_synchronize() needs to be called before it is safe to free
* any memory that is accessed by previously submitted descriptors or before
* freeing any resources accessed from within the completion callback of any
- * perviously submitted descriptors.
+ * previously submitted descriptors.
*
* This function can be called from atomic context as well as from within a
* complete callback of a descriptor submitted on the same channel.
@@ -1119,7 +1119,7 @@ static inline int dmaengine_terminate_async(struct dma_chan *chan)
*
* Synchronizes to the DMA channel termination to the current context. When this
* function returns it is guaranteed that all transfers for previously issued
- * descriptors have stopped and and it is safe to free the memory assoicated
+ * descriptors have stopped and and it is safe to free the memory associated
* with them. Furthermore it is guaranteed that all complete callback functions
* for a previously submitted descriptor have finished running and it is safe to
* free resources accessed from within the complete callbacks.