ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure
authorLadislav Michl <ladis@linux-mips.org>
Sat, 11 Feb 2017 13:02:49 +0000 (14:02 +0100)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Feb 2017 17:06:23 +0000 (09:06 -0800)
commit7807e086a2d1f69cc1a57958cac04fea79fc2112
tree69f75d7fa71ddd432418d027f96b3ede87565aa2
parent1bd49882d78a9b976fe7380ec1bdeb454d68a358
ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure

gpmc_probe_onenand_child returns success even on gpmc_onenand_init
failure. Fix that.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc-onenand.c
drivers/memory/omap-gpmc.c
include/linux/omap-gpmc.h