From: David Woodhouse Date: Mon, 20 Oct 2008 08:26:16 +0000 (+0100) Subject: Revert "[MTD] m25p80.c code cleanup" X-Git-Tag: v2.6.28-rc1~105^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a1a6272057e2ad90ab531a70330165888866e60;p=pandora-kernel.git Revert "[MTD] m25p80.c code cleanup" This reverts commit 75d0ee2202b5740e94e913d8a52f91c6557c4c81. Although it seems ObviouslyCorrectâ„¢, the spi_write() call uses DMA, while spi_write_then_read() does not. Since our buffer is on the stack, we must use the latter even though we don't actually want to read anything back. Pointed out by David Brownell Signed-off-by: David Woodhouse --- Reading git-diff-tree failed