From: Patrice Chotard <patrice.chotard@xxxxxxxxxxx> Changes in v4: - Add spinand_init_flash helper() - Remove no more needed spinand_block_unlock() helper introduced in v2 Changes in v3: - Add spinand_read_cfg() helper - Add spinand_read_cfg() call to repopulate cache during resume - Split v2 patch in 3 patches Changes in v2: - Add helper spinand_block_unlock(). - Add spinand_ecc_enable() call. - Remove some dev_err(). - Fix commit's title and message. Patrice Chotard (3): mtd: spinand: Add spinand_init_flash() helper mtd: spinand: add spinand_read_cfg() helper mtd: spinand: add SPI-NAND MTD resume handler drivers/mtd/nand/spi/core.c | 113 +++++++++++++++++++++++++----------- 1 file changed, 79 insertions(+), 34 deletions(-) -- 2.17.1