mtd: nand: ecc-hamming: Populate the public nsteps field
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 27 Jan 2021 20:30:14 +0000 (21:30 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Mar 2021 08:37:28 +0000 (09:37 +0100)
commit12e0df0c6f60baf10f6ecb78a086bf1048ad9d8b
treebc8918d8c417fbef666707f09d41238a0dc081fc
parent7cd37e7e958bbc1038b90c126162532a4afaa9f8
mtd: nand: ecc-hamming: Populate the public nsteps field

Advertize the actual number of steps that will actually be used by the
driver by populating the public field.

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-4-miquel.raynal@bootlin.com
drivers/mtd/nand/ecc-sw-hamming.c