mtd: vf610_nfc: specify transfer size before each transfer
authorStefan Agner <stefan@agner.ch>
Tue, 24 Mar 2015 16:54:20 +0000 (17:54 +0100)
committerScott Wood <scottwood@freescale.com>
Tue, 31 Mar 2015 04:35:27 +0000 (23:35 -0500)
commit55765b1842e7dcf22efa8d973c7d1b7498dd99fa
tree96cc085e626992ca56946b5f95ca153d832ddfb9
parent7653fc288a964ce5bb0cff9176444260731d0f90
mtd: vf610_nfc: specify transfer size before each transfer

Testing showed, that commands like STATUS made the buffer dirty
when executed with NFC_SECSZ set to the page size. It looks
like the controller transfers bogus data when this register
is configured. When setting it to 0, the buffer does not get
altered while the status command still seems to work flawless.

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/mtd/nand/vf610_nfc.c