Patch "mtd: nand: tango: Fix incorrect use of SEQIN command" has been added to the 4.12-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
mtd: nand: tango: Fix incorrect use of SEQIN command
to the 4.12-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
mtd-nand-tango-fix-incorrect-use-of-seqin-command.patch
and it can be found in the queue-4.12 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
a186493237a9d8559997c2f97c33c4716d602fd2Mon Sep 17 00:00:00 2001
From: Boris Brezillon <[email protected]>
Date: Wed, 17 May 2017 10:47:50 +0200
Subject: mtd: nand: tango: Fix incorrect use of SEQIN command
From: Boris Brezillon <[email protected]>
commit a186493237a9d8559997c2f97c33c4716d602fd2 upstream.
SEQIN is supposed to be used when one wants to start programming a page. What we want here is just to change the column within the page, which is done with the RNDIN command.
--- drivers/mtd/nand/tango_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/tango_nand.c +1 -1
@@ -340,7 +340,7 @@ static void aux_write(struct nand_chip *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;
Patches currently in stable-queue which might be from [email protected] are
queue-4.12/mtd-nand-tango-fix-incorrect-use-of-seqin-command.patch queue-4.12/ubifs-don-t-leak-kernel-memory-to-the-mtd.patch