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)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 3 Jul 2015 22:19:02 +0000 (01:19 +0300)
commit23505dfb13fc1e9088a4a8b76ee190472b8834f9
treec317da7670380d42daa44dc61b2ea6066f3ed009
parentff4dd2ceb14d962068b03d77c39c98989e1dbe6a
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