mtd: nand: pxa3xx: Move DMA I/O enabling
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 4 Oct 2013 18:30:37 +0000 (15:30 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:53 +0000 (23:32 -0800)
Instead of setting info->dma each time a command is prepared,
we can move it after the DMA buffers are allocated.

This is more clear and it's the proper place to enable this, given
DMA cannot be turned on and off during runtime.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

No differences found