From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOh2N-0008Dp-AF for linux-mtd@lists.infradead.org; Fri, 01 Jun 2018 10:12:00 +0000 Date: Fri, 1 Jun 2018 12:11:44 +0200 From: Miquel Raynal To: Boris Brezillon Cc: David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , linux-mtd@lists.infradead.org, Peter Pan , Frieder Schrempf , Vignesh R , Xiangsheng Hou Subject: Re: [PATCH v7 1/5] mtd: nand: Pass mode information to nand_page_io_req Message-ID: <20180601121144.247c03f3@xps13> In-Reply-To: <20180515150825.19835-2-boris.brezillon@bootlin.com> References: <20180515150825.19835-1-boris.brezillon@bootlin.com> <20180515150825.19835-2-boris.brezillon@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Boris, On Tue, 15 May 2018 17:08:21 +0200, Boris Brezillon wrote: > The NAND sub-layers are likely to need the MTD_OPS_XXX mode information > in order to decide if they should enable/disable ECC or how they should > place the OOB bytes in the provided OOB buffer. > > Add a field to nand_page_io_req to pass this information. > > Signed-off-by: Boris Brezillon > --- Reviewed-by: Miquel Raynal