Commit dfea8f71 authored by Xichao Zhao's avatar Xichao Zhao Committed by Miquel Raynal
Browse files

mtd: nand: ecc: fix "writen"->"written"



Trivial fix to spelling mistake in comment text.

Signed-off-by: default avatarXichao Zhao <zhao.xichao@vivo.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent c9f62564
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -552,7 +552,7 @@ void nand_ecc_tweak_req(struct nand_ecc_req_tweak_ctx *ctx,
		memset(tweak->oobbuf.in, 0xFF, ctx->oob_buffer_size);
	}

	/* Copy the data that must be writen in the bounce buffers, if needed */
	/* Copy the data that must be written in the bounce buffers, if needed */
	if (orig->type == NAND_PAGE_WRITE) {
		if (ctx->bounce_data)
			memcpy((void *)tweak->databuf.out + orig->dataoffs,