mtd: nand: omap: use DT specified bus-width only for scanning NAND device
authorPekon Gupta <pekon@ti.com>
Thu, 24 Oct 2013 12:50:20 +0000 (18:20 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:33:08 +0000 (23:33 -0800)
commitf18befb57b0779094ac7658fa7be5cf559da835f
treefe73befc203731491a2ad549ec8763483e9bb10c
parent633deb58e1ecc81486505fe9d3dc2aa3cfbca719
mtd: nand: omap: use DT specified bus-width only for scanning NAND device

This patch:
- calls nand_scan_ident() using bus-width as passed by DT
- removes double calls to nand_scan_ident(), in case first call fails
  then omap_nand_probe just returns error.

Signed-off-by: Pekon Gupta <pekon@ti.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/omap2.c
This page took 0.026215 seconds and 5 git commands to generate.