From: Fabio Estevam Date: Tue, 21 Jun 2011 17:49:37 +0000 (-0300) Subject: mxc: iomuxv1: Do not use gpio_request when setting the pin as GPIO X-Git-Tag: v3.1-rc1~249^2~3^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=581f84e24b45ab871ae5f15f9290261c7226ffa9;p=pandora-kernel.git 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 Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed