Skip to content

Commit 8a5703f

Browse files
Sebastian SiewiorJesper Juhl
authored andcommitted
DMA engine: typo fixes
Spelling fixes for dmaengine.[ch] Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de> Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
1 parent 218ff13 commit 8a5703f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/dma/dmaengine.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
*
4343
* Each device has a kref, which is initialized to 1 when the device is
4444
* registered. A kref_get is done for each device registered. When the
45-
* device is released, the coresponding kref_put is done in the release
45+
* device is released, the corresponding kref_put is done in the release
4646
* method. Every time one of the device's channels is allocated to a client,
47-
* a kref_get occurs. When the channel is freed, the coresponding kref_put
47+
* a kref_get occurs. When the channel is freed, the corresponding kref_put
4848
* happens. The device's release function does a completion, so
4949
* unregister_device does a remove event, device_unregister, a kref_put
5050
* for the first reference, then waits on the completion for all other
@@ -53,7 +53,7 @@
5353
* Each channel has an open-coded implementation of Rusty Russell's "bigref,"
5454
* with a kref and a per_cpu local_t. A dma_chan_get is called when a client
5555
* signals that it wants to use a channel, and dma_chan_put is called when
56-
* a channel is removed or a client using it is unregesitered. A client can
56+
* a channel is removed or a client using it is unregistered. A client can
5757
* take extra references per outstanding transaction, as is the case with
5858
* the NET DMA client. The release function does a kref_put on the device.
5959
* -ChrisL, DanW

‎include/linux/dmaengine.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ static inline enum dma_status dma_async_is_tx_complete(struct dma_chan *chan,
404404
* @last_used: last cookie value handed out
405405
*
406406
* dma_async_is_complete() is used in dma_async_memcpy_complete()
407-
* the test logic is seperated for lightweight testing of multiple cookies
407+
* the test logic is separated for lightweight testing of multiple cookies
408408
*/
409409
static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie,
410410
dma_cookie_t last_complete, dma_cookie_t last_used)

0 commit comments

Comments
 (0)