Skip to content

Commit 2ed4ba9

Browse files
Tom Rixvinodkoul
authored andcommitted
dmaengine: ti: cleanup comments
Remove the second 'the' Replacements completetion to completion seens to seen pendling to pending atleast to at least tranfer to transfer multibple to a multiple transfering to transferring Signed-off-by: Tom Rix <trix@redhat.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20220217182546.3266909-1-trix@redhat.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent fb7a444 commit 2ed4ba9

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

drivers/dma/ti/cppi41.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ static irqreturn_t cppi41_irq(int irq, void *data)
315315
val = cppi_readl(cdd->qmgr_mem + QMGR_PEND(i));
316316
if (i == QMGR_PENDING_SLOT_Q(first_completion_queue) && val) {
317317
u32 mask;
318-
/* set corresponding bit for completetion Q 93 */
318+
/* set corresponding bit for completion Q 93 */
319319
mask = 1 << QMGR_PENDING_BIT_Q(first_completion_queue);
320320
/* not set all bits for queues less than Q 93 */
321321
mask--;
@@ -703,7 +703,7 @@ static int cppi41_tear_down_chan(struct cppi41_channel *c)
703703
* transfer descriptor followed by TD descriptor. Waiting seems not to
704704
* cause any difference.
705705
* RX seems to be thrown out right away. However once the TearDown
706-
* descriptor gets through we are done. If we have seens the transfer
706+
* descriptor gets through we are done. If we have seen the transfer
707707
* descriptor before the TD we fetch it from enqueue, it has to be
708708
* there waiting for us.
709709
*/
@@ -747,7 +747,7 @@ static int cppi41_stop_chan(struct dma_chan *chan)
747747
struct cppi41_channel *cc, *_ct;
748748

749749
/*
750-
* channels might still be in the pendling list if
750+
* channels might still be in the pending list if
751751
* cppi41_dma_issue_pending() is called after
752752
* cppi41_runtime_suspend() is called
753753
*/

drivers/dma/ti/edma.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@
118118

119119
/*
120120
* Max of 20 segments per channel to conserve PaRAM slots
121-
* Also note that MAX_NR_SG should be atleast the no.of periods
121+
* Also note that MAX_NR_SG should be at least the no.of periods
122122
* that are required for ASoC, otherwise DMA prep calls will
123123
* fail. Today davinci-pcm is the only user of this driver and
124-
* requires atleast 17 slots, so we setup the default to 20.
124+
* requires at least 17 slots, so we setup the default to 20.
125125
*/
126126
#define MAX_NR_SG 20
127127
#define EDMA_MAX_SLOTS MAX_NR_SG
@@ -976,7 +976,7 @@ static int edma_config_pset(struct dma_chan *chan, struct edma_pset *epset,
976976
* and quotient respectively of the division of:
977977
* (dma_length / acnt) by (SZ_64K -1). This is so
978978
* that in case bcnt over flows, we have ccnt to use.
979-
* Note: In A-sync tranfer only, bcntrld is used, but it
979+
* Note: In A-sync transfer only, bcntrld is used, but it
980980
* only applies for sg_dma_len(sg) >= SZ_64K.
981981
* In this case, the best way adopted is- bccnt for the
982982
* first frame will be the remainder below. Then for
@@ -1203,7 +1203,7 @@ static struct dma_async_tx_descriptor *edma_prep_dma_memcpy(
12031203
* slot2: the remaining amount of data after slot1.
12041204
* ACNT = full_length - length1, length2 = ACNT
12051205
*
1206-
* When the full_length is multibple of 32767 one slot can be
1206+
* When the full_length is a multiple of 32767 one slot can be
12071207
* used to complete the transfer.
12081208
*/
12091209
width = array_size;
@@ -1814,7 +1814,7 @@ static void edma_issue_pending(struct dma_chan *chan)
18141814
* This limit exists to avoid a possible infinite loop when waiting for proof
18151815
* that a particular transfer is completed. This limit can be hit if there
18161816
* are large bursts to/from slow devices or the CPU is never able to catch
1817-
* the DMA hardware idle. On an AM335x transfering 48 bytes from the UART
1817+
* the DMA hardware idle. On an AM335x transferring 48 bytes from the UART
18181818
* RX-FIFO, as many as 55 loops have been seen.
18191819
*/
18201820
#define EDMA_MAX_TR_WAIT_LOOPS 1000

drivers/dma/ti/omap-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ static int omap_dma_pause(struct dma_chan *chan)
14421442
* A source-synchronised channel is one where the fetching of data is
14431443
* under control of the device. In other words, a device-to-memory
14441444
* transfer. So, a destination-synchronised channel (which would be a
1445-
* memory-to-device transfer) undergoes an abort if the the CCR_ENABLE
1445+
* memory-to-device transfer) undergoes an abort if the CCR_ENABLE
14461446
* bit is cleared.
14471447
* From 16.1.4.20.4.6.2 Abort: "If an abort trigger occurs, the channel
14481448
* aborts immediately after completion of current read/write

0 commit comments

Comments
 (0)