]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mtd: rawnand: sunxi: fix typos in comments
authorRichard Genoud <richard.genoud@bootlin.com>
Tue, 17 Mar 2026 14:24:36 +0000 (15:24 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 25 Mar 2026 14:27:30 +0000 (15:27 +0100)
Fix lenghts -> lengths and chuncks -> chunks

Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/sunxi_nand.c

index 81e491be3563ca652607ed2ba89afbd2cbe51ea1..3d2580d39e702d2dd25f70c5d9cf999e0f742d2d 100644 (file)
@@ -272,7 +272,7 @@ static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand)
  *
  * @has_mdma:          Use mbus dma mode, otherwise general dma
  *                     through MBUS on A23/A33 needs extra configuration.
- * @has_ecc_block_512: If the ECC can handle 512B or only 1024B chuncks
+ * @has_ecc_block_512: If the ECC can handle 512B or only 1024B chunks
  * @has_ecc_clk:       If the controller needs an ECC clock.
  * @has_mbus_clk:      If the controller needs a mbus clock.
  * @legacy_max_strength:If the maximize strength function was off by 2 bytes
@@ -294,7 +294,7 @@ static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand)
  * @nstrengths:                Size of @ecc_strengths
  * @max_ecc_steps:     Maximum supported steps for ECC, this is also the
  *                     number of user data registers
- * @user_data_len_tab:  Table of lenghts supported by USER_DATA_LEN register
+ * @user_data_len_tab:  Table of lengths supported by USER_DATA_LEN register
  *                     The table index is the value to set in NFC_USER_DATA_LEN
  *                     registers, and the corresponding value is the number of
  *                     bytes to write