mtd: nand: Let ECC engines advertize the exact number of steps
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 27 Jan 2021 20:30:12 +0000 (21:30 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Mar 2021 08:37:27 +0000 (09:37 +0100)
commit2bc611844b5d2c43b63bdf71ae6395fa7a6566cc
treef350226b68e186e90940302def92997e0a143ac1
parenta38fd8748464831584a19438cbb3082b5a2dab15
mtd: nand: Let ECC engines advertize the exact number of steps

This is an information that might be useful for specific uses, so
export it, which might avoid having to guess the number of steps when
necessary.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Adam Ford <aford173@gmail.com> #logicpd Torpedo
Link: https://lore.kernel.org/linux-mtd/20210127203020.9574-2-miquel.raynal@bootlin.com
include/linux/mtd/nand.h