commit | 95b26563c739d5ed5101318b1bd8895773a3d872 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | Fri Oct 04 15:30:37 2013 -0300 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Nov 06 23:32:53 2013 -0800 |
tree | 9fd53e15252882b1c29a21e8275e868698f81415 | |
parent | 867f770de8127d2e1dd730ce60608dfdac08d863 [diff] |
mtd: nand: pxa3xx: Move DMA I/O enabling 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>