Commit a22f40d9 authored by Richard Genoud's avatar Richard Genoud Committed by Miquel Raynal
Browse files

mtd: rawnand: sunxi: fix typos in comments



Fix lenghts -> lengths and chuncks -> chunks

Signed-off-by: default avatarRichard Genoud <richard.genoud@bootlin.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent a1c967f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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