Re: [PATCH 08/23] mtd: rawnand: Pass a nand_chip object to ecc->read_xxx() hooks

2018-08-20 Thread Stefan Agner
On 20.08.2018 10:09, Boris Brezillon wrote: > Hi Stefan, > > On Mon, 20 Aug 2018 09:57:47 +0200 > Stefan Agner wrote: > >> On 19.08.2018 13:26, Boris Brezillon wrote: >> > Hi Stefan, >> > >> > On Sat, 18 Aug 2018 10:30:13 +0200 >> > Stefan Agner wrote: >> > >> >> > diff --git

Re: [PATCH 08/23] mtd: rawnand: Pass a nand_chip object to ecc->read_xxx() hooks

2018-08-20 Thread Boris Brezillon
Hi Stefan, On Mon, 20 Aug 2018 09:57:47 +0200 Stefan Agner wrote: > On 19.08.2018 13:26, Boris Brezillon wrote: > > Hi Stefan, > > > > On Sat, 18 Aug 2018 10:30:13 +0200 > > Stefan Agner wrote: > > > >> > diff --git a/drivers/mtd/nand/raw/tegra_nand.c > >> >

Re: [PATCH 08/23] mtd: rawnand: Pass a nand_chip object to ecc->read_xxx() hooks

2018-08-20 Thread Stefan Agner
On 19.08.2018 13:26, Boris Brezillon wrote: > Hi Stefan, > > On Sat, 18 Aug 2018 10:30:13 +0200 > Stefan Agner wrote: > >> > diff --git a/drivers/mtd/nand/raw/tegra_nand.c >> > b/drivers/mtd/nand/raw/tegra_nand.c >> > index 5dcee20e2a8c..bcc3a2888c4f 100644 >> > ---

Re: [PATCH 08/23] mtd: rawnand: Pass a nand_chip object to ecc->read_xxx() hooks

2018-08-19 Thread Boris Brezillon
Hi Stefan, On Sat, 18 Aug 2018 10:30:13 +0200 Stefan Agner wrote: > > diff --git a/drivers/mtd/nand/raw/tegra_nand.c > > b/drivers/mtd/nand/raw/tegra_nand.c > > index 5dcee20e2a8c..bcc3a2888c4f 100644 > > --- a/drivers/mtd/nand/raw/tegra_nand.c > > +++ b/drivers/mtd/nand/raw/tegra_nand.c > > @@

Re: [PATCH 08/23] mtd: rawnand: Pass a nand_chip object to ecc->read_xxx() hooks

2018-08-18 Thread Stefan Agner
Hi Boris, On 17.08.2018 18:09, Boris Brezillon wrote: > Let's make the raw NAND API consistent by patching all helpers and > hooks to take a nand_chip object instead of an mtd_info one or > remove the mtd_info object when both are passed. > > Let's tackle all ecc->read_xxx() hooks at once. > >

[PATCH 08/23] mtd: rawnand: Pass a nand_chip object to ecc->read_xxx() hooks

2018-08-17 Thread Boris Brezillon
Let's make the raw NAND API consistent by patching all helpers and hooks to take a nand_chip object instead of an mtd_info one or remove the mtd_info object when both are passed. Let's tackle all ecc->read_xxx() hooks at once. Signed-off-by: Boris Brezillon ---