[PATCH] ARM: mach-mxs/mx28evk: Only register devices if their GPIO requests succeeded

Shawn Guo shawn.guo at freescale.com
Tue Sep 13 23:18:04 EDT 2011


On Tue, Sep 13, 2011 at 05:25:19PM -0300, Fabio Estevam wrote:
> Currently framebuffer and MMC devices are registered even if their associated 
> GPIO pins fail to be requested.
> 
> Change the logic so that the registration of such devices only occurs if their 
> GPIO requests succeeded.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
So the question is whether the gpio request failure is a show-stopper
failure for framebuffer and mmc.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list