On Wed, May 13, 2020 at 6:09 PM Boris Brezillon boris.brezillon@collabora.com wrote:
On Wed, 13 May 2020 15:10:29 +0200 Miquel Raynal miquel.raynal@bootlin.com wrote:
This is done by default in the raw NAND core (nand_base.c) but was missing in the SPI-NAND core. Without these two lines the ecc_strength and ecc_step_size values are not exported to the user through sysfs.
This fix depends on recent changes and should not be backported as-is.
Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs") Cc: stable@vger.kernel.org Signed-off-by: Miquel Raynal miquel.raynal@bootlin.com
Reviewed-by: Boris Brezillon boris.brezillon@collabora.com
Applied, thanks!