ARM: OMAP: hsmmc: Add support for non-OMAP pins
authorThomas Weber <weber@corscience.de>
Thu, 17 Nov 2011 21:39:40 +0000 (22:39 +0100)
committerTony Lindgren <tony@atomide.com>
Fri, 9 Dec 2011 20:32:53 +0000 (12:32 -0800)
commita15164f13fb3f0f70849c2a099ff0af7b2924ba1
tree25f7c9f110f0dc115a41dc03fc8ba45a5e16e1ed
parente62245ba1caaf78d6fe2619266939c8e7caa150c
ARM: OMAP: hsmmc: Add support for non-OMAP pins

The Devkit8000 uses a TWL4030 pin for card detection.
Thats why the error:
_omap_mux_init_gpio: Could not set gpio192
occurs.

This patch checks that the pin is on OMAP before
calling omap_mux_init_gpio.

Signed-off-by: Thomas Weber <weber@corscience.de>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/hsmmc.c