projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e767ab
)
ARM: OMAP3: igep0020: Set WIFI/BT GPIO pins in correct mux mode
author
Anders Hedlund
<
[email protected]
>
Mon, 29 Oct 2012 19:25:42 +0000
(20:25 +0100)
committer
Tony Lindgren
<
[email protected]
>
Wed, 7 Nov 2012 21:56:25 +0000
(13:56 -0800)
Setup the WIFI/BT GPIO pin muxes to enable WIFI/BT functionality.
This is needed to fix regression caused by recent versions of
u-boot that only mux essential pins.
Signed-off-by: Anders Hedlund <
[email protected]
>
Cc: Jonas Zetterberg <
[email protected]
>
Cc: Enric Balletbo i Serra <
[email protected]
>
Cc: Javier Martinez Canillas <
[email protected]
>
Cc: Matthias Brugger <
[email protected]
>
[
[email protected]
: updated comments to describe regression]
Signed-off-by: Tony Lindgren <
[email protected]
>
arch/arm/mach-omap2/board-igep0020.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/board-igep0020.c
b/arch/arm/mach-omap2/board-igep0020.c
index 48d5e41dfbfabe3da59ef00f7457f5012cf2ec1a..378590694447bdbdd3ed4d7862624ac5d000c402 100644
(file)
--- a/
arch/arm/mach-omap2/board-igep0020.c
+++ b/
arch/arm/mach-omap2/board-igep0020.c
@@
-580,6
+580,11
@@
static void __init igep_wlan_bt_init(void)
} else
return;
+ /* Make sure that the GPIO pins are muxed correctly */
+ omap_mux_init_gpio(igep_wlan_bt_gpios[0].gpio, OMAP_PIN_OUTPUT);
+ omap_mux_init_gpio(igep_wlan_bt_gpios[1].gpio, OMAP_PIN_OUTPUT);
+ omap_mux_init_gpio(igep_wlan_bt_gpios[2].gpio, OMAP_PIN_OUTPUT);
+
err = gpio_request_array(igep_wlan_bt_gpios,
ARRAY_SIZE(igep_wlan_bt_gpios));
if (err) {