[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAARK3H=4QjWr3D7GpNbw9YbFm9C+t5CDcMU=o6_O7rb1ofHuMA@mail.gmail.com>
Date: Tue, 18 Jun 2019 09:25:27 +0530
From: Sagar Kadam <sagar.kadam@...ive.com>
To: Joe Perches <joe@...ches.com>
Cc: Vignesh Raghavendra <vigneshr@...com>, marek.vasut@...il.com,
tudor.ambarus@...rochip.com, dwmw2@...radead.org,
computersforpeace@...il.com, miquel.raynal@...tlin.com,
richard@....at, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
Palmer Dabbelt <palmer@...ive.com>, aou@...s.berkeley.edu,
Paul Walmsley <paul.walmsley@...ive.com>,
Wesley Terpstra <wesley@...ive.com>
Subject: Re: [PATCH v5 2/3] mtd: spi-nor: add support to unlock flash device
Hello Joe,
Thanks for reviewing the patch.
On Tue, Jun 18, 2019 at 5:55 AM Joe Perches <joe@...ches.com> wrote:
>
> On Mon, 2019-06-17 at 21:10 +0530, Sagar Kadam wrote:
> > On Sun, Jun 16, 2019 at 6:35 PM Vignesh Raghavendra <vigneshr@...com> wrote:
> []
> > > > +static int issi_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len)
> > > > +{
> []
> > > > + if (ret > 0 && !(ret & mask)) {
> > > > + dev_info(nor->dev,
> > > > + "ISSI Block Protection Bits cleared SR=0x%x", ret);
>
> Please use '\n' terminations on formats
>
I will include this in v6.
> > > > + ret = 0;
> > > > + } else {
> > > > + dev_err(nor->dev, "ISSI Block Protection Bits not cleared\n");
>
> like this one
>
> > > > + ret = -EINVAL;
> > > > + }
> > > > + return ret;
> > > > +}
> > > > +
> > > > +/**
> > > > * spansion_quad_enable() - set QE bit in Configuraiton Register.
>
> s/Configuraiton/Configuration/
>
>
Thanks & BR,
Sagar Kadam
Powered by blists - more mailing lists