]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:43:28 +0000 (22:43 +0200)
commitaaaf38e2d723f4cb9824f7976e5957d4ba732db2
tree5ab3240d2b069618ac3c24c1b92f5243eee44c4d
parent81ae328c37f4d2895b3a21a15c294c5fa2a6bcd4
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