Re: [RFC 02/12] mtd: nand: force drivers to explicitly send READ/PROG commands

2017-10-20 Thread Boris Brezillon
On Fri, 20 Oct 2017 11:29:18 +0200 Stefan Agner wrote: > Hi Miquel, > > Thanks for the work on this, happy to see the new interface is moving > forward. Some comments below. > > On 2017-10-18 16:36, Miquel Raynal wrote: > > From: Boris Brezillon

Re: [RFC 02/12] mtd: nand: force drivers to explicitly send READ/PROG commands

2017-10-20 Thread Stefan Agner
Hi Miquel, Thanks for the work on this, happy to see the new interface is moving forward. Some comments below. On 2017-10-18 16:36, Miquel Raynal wrote: > From: Boris Brezillon > > The core currently send the READ0 and SEQIN+PAGEPROG commands in >

[RFC 02/12] mtd: nand: force drivers to explicitly send READ/PROG commands

2017-10-18 Thread Miquel Raynal
From: Boris Brezillon The core currently send the READ0 and SEQIN+PAGEPROG commands in nand_do_read/write_ops(). This is inconsistent with ->read/write_oob[_raw]() hooks behavior which are expected to send these commands. There's already a flag