From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Cc: Richard Weinberger <richard@nod.at>,
<linux-mtd@lists.infradead.org>,
Marek Vasut <marek.vasut@gmail.com>,
Cyrille Pitchen <cyrille.pitchen@atmel.com>,
Brian Norris <computersforpeace@gmail.com>,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH] mtd: nand: tango: Fix incorrect use of SEQIN command
Date: Mon, 29 May 2017 20:53:19 +0200 [thread overview]
Message-ID: <20170529205319.6bbc2a5d@bbrezillon> (raw)
In-Reply-To: <b9c5447f-2b55-9323-a348-13d2bda16335@sigmadesigns.com>
On Wed, 17 May 2017 10:38:21 +0200
Marc Gonzalez <marc_gonzalez@sigmadesigns.com> wrote:
> On 16/05/2017 00:30, Boris Brezillon wrote:
>
> > Boris Brezillon wrote:
> >
> >> SEQIN is supposed to be used one wants to start programming a page.
> >
> > ^ when one ...
> >
> >> What we want here is just changing the column within the page, which is
>
> I would write "is just to change".
>
> >> done with the RNDIN command.
> >>
> >
> > Forgot the following tags.
> >
> > Fixes: 6956e2385a16 ("mtd: nand: add tango NAND flash controller support")
> > Cc: state@vger.kernel.org
>
> stable, I assume.
>
> >> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> >> ---
> >> drivers/mtd/nand/tango_nand.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/drivers/mtd/nand/tango_nand.c b/drivers/mtd/nand/tango_nand.c
> >> index 05b6e1065203..a2150b15d4c1 100644
> >> --- a/drivers/mtd/nand/tango_nand.c
> >> +++ b/drivers/mtd/nand/tango_nand.c
> >> @@ -332,7 +332,7 @@ static void aux_write(struct nand_chip *chip, const u8 **buf, int len, int *pos)
> >>
> >> if (!*buf) {
> >> /* skip over "len" bytes */
> >> - chip->cmdfunc(mtd, NAND_CMD_SEQIN, *pos, -1);
> >> + chip->cmdfunc(mtd, NAND_CMD_RNDIN, *pos, -1);
> >> } else {
> >> tango_write_buf(mtd, *buf, len);
> >> *buf += len;
>
> Looks correct, but I have no knowledge of NAND protocols :-)
>
> Acked-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Applied to nand/next after fixing commit message + stable address.
>
> Regards.
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
prev parent reply other threads:[~2017-05-29 18:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-15 22:10 [PATCH] mtd: nand: tango: Fix incorrect use of SEQIN command Boris Brezillon
2017-05-15 22:30 ` Boris Brezillon
2017-05-17 8:38 ` Marc Gonzalez
2017-05-29 18:53 ` Boris Brezillon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170529205319.6bbc2a5d@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@atmel.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marc_gonzalez@sigmadesigns.com \
--cc=marek.vasut@gmail.com \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox