Skip to content

Commit 71a5197

Browse files
rddunlapvinodkoul
authored andcommitted
dmaengine: std_dma40: fix kernel-doc warnings and spelling
Correct kernel-doc warnings as reported by kernel test robot: ste_dma40.c:57: warning: Excess struct member 'dev_tx' description in 'stedma40_platform_data' ste_dma40.c:57: warning: Excess struct member 'dev_rx' description in 'stedma40_platform_data' Correct spellos as reported by codespell. Signed-off-by: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Cc: Linus Walleij <[email protected]> Cc: [email protected] Cc: Vinod Koul <[email protected]> Cc: [email protected] Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 1075ee6 commit 71a5197

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

drivers/dma/ste_dma40.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@
3131
/**
3232
* struct stedma40_platform_data - Configuration struct for the dma device.
3333
*
34-
* @dev_tx: mapping between destination event line and io address
35-
* @dev_rx: mapping between source event line and io address
3634
* @disabled_channels: A vector, ending with -1, that marks physical channels
3735
* that are for different reasons not available for the driver.
3836
* @soft_lli_chans: A vector, that marks physical channels will use LLI by SW
3937
* which avoids HW bug that exists in some versions of the controller.
40-
* SoftLLI introduces relink overhead that could impact performace for
38+
* SoftLLI introduces relink overhead that could impact performance for
4139
* certain use cases.
4240
* @num_of_soft_lli_chans: The number of channels that needs to be configured
4341
* to use SoftLLI.
@@ -184,7 +182,7 @@ static __maybe_unused u32 d40_backup_regs[] = {
184182

185183
/*
186184
* since 9540 and 8540 has the same HW revision
187-
* use v4a for 9540 or ealier
185+
* use v4a for 9540 or earlier
188186
* use v4b for 8540 or later
189187
* HW revision:
190188
* DB8500ed has revision 0
@@ -411,7 +409,7 @@ struct d40_desc {
411409
*
412410
* @base: The virtual address of LCLA. 18 bit aligned.
413411
* @dma_addr: DMA address, if mapped
414-
* @base_unaligned: The orignal kmalloc pointer, if kmalloc is used.
412+
* @base_unaligned: The original kmalloc pointer, if kmalloc is used.
415413
* This pointer is only there for clean-up on error.
416414
* @pages: The number of pages needed for all physical channels.
417415
* Only used later for clean-up on error
@@ -1655,7 +1653,7 @@ static void dma_tasklet(struct tasklet_struct *t)
16551653

16561654
return;
16571655
check_pending_tx:
1658-
/* Rescue manouver if receiving double interrupts */
1656+
/* Rescue maneuver if receiving double interrupts */
16591657
if (d40c->pending_tx > 0)
16601658
d40c->pending_tx--;
16611659
spin_unlock_irqrestore(&d40c->lock, flags);
@@ -3412,7 +3410,7 @@ static int __init d40_lcla_allocate(struct d40_base *base)
34123410
base->lcla_pool.base = (void *)page_list[i];
34133411
} else {
34143412
/*
3415-
* After many attempts and no succees with finding the correct
3413+
* After many attempts and no success with finding the correct
34163414
* alignment, try with allocating a big buffer.
34173415
*/
34183416
dev_warn(base->dev,

0 commit comments

Comments
 (0)