From: Jon Hunter Date: Wed, 17 Oct 2012 14:41:25 +0000 (-0500) Subject: ARM: OMAP2+: Allow kernel to boot even if GPMC fails to reserve memory X-Git-Tag: omap-for-v3.7-rc1/fixes-take5-signed^0 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8119024ef7363591fd958ec89ebfaee7c18209e3;p=pandora-kernel.git ARM: OMAP2+: Allow kernel to boot even if GPMC fails to reserve memory Currently, if the GPMC driver fails to reserve memory when probed we will call BUG() and the kernel will not boot. Instead of calling BUG(), return an error from probe and allow kernel to boot. Boot tested on AM335x beagle bone board and OMAP4430 Panda board. V2 changes: - Ensure that clock and memory resources are released on error. Signed-off-by: Jon Hunter Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed