summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/include/mach/iomux-v1.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-06-21 21:49:37 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-07-07 11:06:58 +0400
commit581f84e24b45ab871ae5f15f9290261c7226ffa9 (patch)
treeaa05e5cef2e9c2797158e3744157fc4bb528eb9b /arch/arm/plat-mxc/include/mach/iomux-v1.h
parentb2a08e3e46f594ad605c9b5f5fce6b9f36a9a3eb (diff)
downloadlinux-581f84e24b45ab871ae5f15f9290261c7226ffa9.tar.xz
mxc: iomuxv1: Do not use gpio_request when setting the pin as GPIO
When setting the IOMUX of multiple pins via mxc_gpio_setup_multiple_pins, gpio_request is called and this prevents subsequent calls of gpio_request done by drivers to succeed. Remove gpio_request call from mxc_gpio_setup_multiple_pins function. As gpio_request is removed from mxc_gpio_setup_multiple_pins, there is no need to have mxc_gpio_release_multiple_pins anymore, so remove this function. Tested on a mx27_3ds board and after applying this patch it is possible to define all the IOMUX setup in a static array Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/iomux-v1.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/iomux-v1.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/iomux-v1.h b/arch/arm/plat-mxc/include/mach/iomux-v1.h
index c07d30210c57..253d64d686f8 100644
--- a/arch/arm/plat-mxc/include/mach/iomux-v1.h
+++ b/arch/arm/plat-mxc/include/mach/iomux-v1.h
@@ -98,7 +98,6 @@
extern int mxc_gpio_mode(int gpio_mode);
extern int mxc_gpio_setup_multiple_pins(const int *pin_list, unsigned count,
const char *label);
-extern void mxc_gpio_release_multiple_pins(const int *pin_list, int count);
extern int __init imx_iomuxv1_init(void __iomem *base, int numports);