summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/cadence-nand-controller.c
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-09-23 14:56:49 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2024-10-21 11:24:26 +0200
commit8ab1b51fa45e29edcbd887208f046a2af0e92a08 (patch)
treeab4cfbc3f94dd341e5a82da182389ed04b1327ec /drivers/mtd/nand/raw/cadence-nand-controller.c
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
downloadlinux-8ab1b51fa45e29edcbd887208f046a2af0e92a08.tar.gz
linux-8ab1b51fa45e29edcbd887208f046a2af0e92a08.tar.bz2
linux-8ab1b51fa45e29edcbd887208f046a2af0e92a08.zip
mtd: rawnand: Correct multiple typos in comments
Fixed some confusing spelling errors, the details are as follows: -in the code comments: remaing -> remaining alingment -> alignment capabilitiies -> capabilities operatoin -> operation decriptors -> descriptors stareted -> started Unfortunelly -> Unfortunately compatabable -> compatible depenent -> dependent Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240923065649.11966-1-shenlichuan@vivo.com
Diffstat (limited to 'drivers/mtd/nand/raw/cadence-nand-controller.c')
-rw-r--r--drivers/mtd/nand/raw/cadence-nand-controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/cadence-nand-controller.c b/drivers/mtd/nand/raw/cadence-nand-controller.c
index 3bc89b356963..5e87ba66ea03 100644
--- a/drivers/mtd/nand/raw/cadence-nand-controller.c
+++ b/drivers/mtd/nand/raw/cadence-nand-controller.c
@@ -1891,7 +1891,7 @@ static int cadence_nand_read_buf(struct cdns_nand_ctrl *cdns_ctrl,
int len_in_words = (data_dma_width == 4) ? len >> 2 : len >> 3;
- /* read alingment data */
+ /* read alignment data */
if (data_dma_width == 4)
ioread32_rep(cdns_ctrl->io.virt, buf, len_in_words);
#ifdef CONFIG_64BIT