From: Ezequiel Garcia Date: Thu, 14 Nov 2013 21:25:34 +0000 (-0300) Subject: mtd: nand: pxa3xx: Move the data buffer clean to prepare_start_command() X-Git-Tag: v3.14-rc1~65^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39f83d15df36fa2d50de677e0743438df2ed4cf4;p=pandora-kernel.git mtd: nand: pxa3xx: Move the data buffer clean to prepare_start_command() To allow future support of multiple page reading/writing, move the data buffer clean out of prepare_set_command(). This is done to prevent the data buffer from being cleaned on every command preparation, when a multiple command sequence is implemented to read/write pages larger than the FIFO size (2 KiB). Signed-off-by: Ezequiel Garcia Tested-by: Daniel Mack Signed-off-by: Brian Norris --- Reading git-diff-tree failed