mtd: spinand: Fix comment
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Jun 2021 19:51:57 +0000 (21:51 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 15 Jul 2021 23:07:04 +0000 (01:07 +0200)
commit8363dfc845d74b980e109111b82f0a72aa92e47a
treebb1c8bca9ca2e7ef775287a00c3397bf11dc7de4
parent1a57b13e6017d2af575f4f42e848aa0b64d4bcf1
mtd: spinand: Fix comment

This is a copy paste error, checking the ECC status finishes a page read
here, not a page write.

Fixes: 945845b54c9c ("mtd: spinand: Instantiate a SPI-NAND on-die ECC engine")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210629195157.567828-1-miquel.raynal@bootlin.com
drivers/mtd/nand/spi/core.c