Skip to content

Commit a22f40d

Browse files
richard-bootlinmiquelraynal
authored andcommitted
mtd: rawnand: sunxi: fix typos in comments
Fix lenghts -> lengths and chuncks -> chunks Signed-off-by: Richard Genoud <richard.genoud@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent a1c967f commit a22f40d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/mtd/nand/raw/sunxi_nand.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand)
272272
*
273273
* @has_mdma: Use mbus dma mode, otherwise general dma
274274
* through MBUS on A23/A33 needs extra configuration.
275-
* @has_ecc_block_512: If the ECC can handle 512B or only 1024B chuncks
275+
* @has_ecc_block_512: If the ECC can handle 512B or only 1024B chunks
276276
* @has_ecc_clk: If the controller needs an ECC clock.
277277
* @has_mbus_clk: If the controller needs a mbus clock.
278278
* @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)
294294
* @nstrengths: Size of @ecc_strengths
295295
* @max_ecc_steps: Maximum supported steps for ECC, this is also the
296296
* number of user data registers
297-
* @user_data_len_tab: Table of lenghts supported by USER_DATA_LEN register
297+
* @user_data_len_tab: Table of lengths supported by USER_DATA_LEN register
298298
* The table index is the value to set in NFC_USER_DATA_LEN
299299
* registers, and the corresponding value is the number of
300300
* bytes to write

0 commit comments

Comments
 (0)