mtd: nand: tango: Fix incorrect use of SEQIN command
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 17 May 2017 08:47:50 +0000 (10:47 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 1 Jun 2017 08:09:33 +0000 (10:09 +0200)
commita186493237a9d8559997c2f97c33c4716d602fd2
tree2fa19e82c5e9dddcbb4ac12db82c2e13c1534e20
parentdf5586d7bf6cce421ed48e9b2a88a8bdaa4fd9d0
mtd: nand: tango: Fix incorrect use of SEQIN command

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.

Fixes: 6956e2385a16 ("mtd: nand: add tango NAND flash controller support")
Cc: stable@vger.kernel.org
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
drivers/mtd/nand/tango_nand.c