mtd: atmel_nand: fix support for CPUs that do not support DMA access
authorHong Xu <hong.xu@atmel.com>
Wed, 30 Mar 2011 08:26:41 +0000 (16:26 +0800)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 1 Apr 2011 13:44:32 +0000 (16:44 +0300)
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 <plagnioj@jcrosoft.com>
Signed-off-by: Hong Xu <hong.xu@atmel.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found