]> git.sur5r.net Git - u-boot/commit
mtd: nand: omap: fix error-codes returned from omap-elm driver
authorpekon gupta <pekon@ti.com>
Fri, 11 Apr 2014 07:25:35 +0000 (12:55 +0530)
committerTom Rini <trini@ti.com>
Fri, 6 Jun 2014 21:46:00 +0000 (17:46 -0400)
commit3f990dc83bc3197b17bd847241671917826152cc
tree60f13c8f784a1df0d5252d8a6262f4239295ff28
parenta09431da381ce8d1b4d48e1cbca5f2b4eea662f4
mtd: nand: omap: fix error-codes returned from omap-elm driver

This patch
 omap-elm.c: replaces -ve integer value returned during errorneous condition,
             with proper error-codes.
 omap-gpmc.c: updates omap-gpmc driver to pass error-codes returned from
             omap-elm driver to upper layers

Signed-off-by: Pekon Gupta <pekon@ti.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/mtd/nand/omap_elm.c
drivers/mtd/nand/omap_gpmc.c