]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: ecc-bch: Populate the public nsteps field
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 27 Jan 2021 20:30:13 +0000 (21:30 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Mar 2021 08:37:27 +0000 (09:37 +0100)
commit233972692cf066a5c57a9cb3bb29c1a9fb23cb26
treeadf6c15169a136f7058449c2be99ed303eef10a9
parentd038b7f479f449263d489561e8c329b95b384a26
mtd: nand: ecc-bch: 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-3-miquel.raynal@bootlin.com
drivers/mtd/nand/ecc-sw-bch.c