mtd: vf610_nfc: remove caching of page in buffer
authorStefan Agner <stefan@agner.ch>
Fri, 8 May 2015 17:07:06 +0000 (19:07 +0200)
committerScott Wood <scottwood@freescale.com>
Sun, 24 May 2015 19:26:54 +0000 (14:26 -0500)
commitf55bc296a88c0a9d71ad363b89b54975d2aab14f
treea0eab65338b440a806a7bd4af64b5da53b990131
parent6121560d7714d6d8e41ce1687a1388a1a8fea4cb
mtd: vf610_nfc: remove caching of page in buffer

To improve performance we remember the current page in the buffer
and avoid reading it twice. This implicit page cache increases
complexity while does not increase performance in real world cases.
This patch removes that feature.

Acked-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/mtd/nand/vf610_nfc.c