RE: [EXT] Re: [PATCH] mtd: spi-nor: Add prep/unprep for spi_nor_resume

2019-06-06 Thread Han Xu
@nod.at; linux-kernel@vger.kernel.org; > linux-...@lists.infradead.org; dl-linux-imx ; > computersforpe...@gmail.com > Subject: [EXT] Re: [PATCH] mtd: spi-nor: Add prep/unprep for > spi_nor_resume > > Caution: EXT Email > > Hi, Han, > > On 04/25/2019 12:08 AM, Han X

Re: [PATCH] mtd: spi-nor: Add prep/unprep for spi_nor_resume

2019-06-05 Thread Tudor.Ambarus
Hi, Han, On 04/25/2019 12:08 AM, Han Xu wrote: > External E-Mail > > > In the new implemented spi_nor_resume function, the spi_nor_init() > should be braced by prep/unprep functions._ > Would you please explain why this is needed? Have you tried a suspend/resume cycle while a write was in prog

[PATCH] mtd: spi-nor: Add prep/unprep for spi_nor_resume

2019-04-24 Thread Han Xu
In the new implemented spi_nor_resume function, the spi_nor_init() should be braced by prep/unprep functions._ Signed-off-by: Han Xu --- drivers/mtd/spi-nor/spi-nor.c | 8 include/linux/mtd/spi-nor.h | 1 + 2 files changed, 9 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b