]> Pileus Git - ~andy/linux/commit
mtd: nand: pxa3xx: Allow devices with no dma resources
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 12 Aug 2013 17:14:58 +0000 (14:14 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:35:02 +0000 (21:35 +0100)
commit6b45c1eef6d19d3a6af43471c70235cbe967b491
tree947ad9bf9356a1daea9eff5ad6157e78921ec096
parent57ff88f0f961348a1dec024d611ec7e281510529
mtd: nand: pxa3xx: Allow devices with no dma resources

When use_dma=0 there's no point in requesting resources for dma,
since they won't be used anyway. Therefore we remove that requirement,
therefore allowing devices without dma to pass the driver probe.

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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c