From: Hong Xu Date: Wed, 30 Mar 2011 08:26:41 +0000 (+0800) Subject: mtd: atmel_nand: fix support for CPUs that do not support DMA access X-Git-Tag: v2.6.39-rc3~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb457a4ddd4eeac9c81792a1e6a5d59b1b44abe1;p=pandora-kernel.git mtd: atmel_nand: fix support for CPUs that do not support DMA access use_dma was always "1" even if the CPU does not support DMA Tested on AT91SAM9261EK by Jean-Christophe PLAGNIOL-VILLARD Reported-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Hong Xu Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed