summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2012-06-08 13:43:55 -0500
committerJesse Gilles <jgilles@multitech.com>2012-06-08 13:43:55 -0500
commit69f32901f40b7b276ccf305504ebd0a0d60ebc89 (patch)
tree7f2b138f3e121b3e2e2e88d1bec09544b190c5a2
parent499595b88a549e397230b7967606101128e6db76 (diff)
downloadcdp-io-controller-69f32901f40b7b276ccf305504ebd0a0d60ebc89.tar.gz
cdp-io-controller-69f32901f40b7b276ccf305504ebd0a0d60ebc89.tar.bz2
cdp-io-controller-69f32901f40b7b276ccf305504ebd0a0d60ebc89.zip
en4: set bt-enabled, wlan-enabled low on load
* fixes wl1271 init, both pins need to be low before enabling either wifi or bluetooth
-rw-r--r--io-module/mts_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index 8c59303..20c663d 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -530,7 +530,7 @@ static struct gpio_pin gpio_pins_en4_0_0[] = {
.attr_name = "bt-enabled",
.pin = AT91_PIN_PC0,
.direction = GPIO_DIR_OUTPUT,
- .output_value = 1,
+ .output_value = 0,
.use_pullup = 0,
},
{
@@ -538,7 +538,7 @@ static struct gpio_pin gpio_pins_en4_0_0[] = {
.attr_name = "wlan-enabled",
.pin = AT91_PIN_PC1,
.direction = GPIO_DIR_OUTPUT,
- .output_value = 1,
+ .output_value = 0,
.use_pullup = 0,
},
{