Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272503
b: refs/heads/master
c: 1a64200
h: refs/heads/master
i:
  272501: c30bcaf
  272499: 740cf1a
  272495: 0d547d9
v: v3
  • Loading branch information
Axel Lin authored and Eric Miao committed Oct 25, 2011
1 parent fb72083 commit d50e911
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c149f6c8ae47c35821d93e2bffd5a3a7ca54ad9e
refs/heads/master: 1a64200ec5e93be03e27c3b2fc332e04ae443eb2
8 changes: 3 additions & 5 deletions trunk/arch/arm/mach-pxa/cm-x300.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,6 @@ static struct gpio cm_x300_wi2wi_gpios[] __initdata = {

static void __init cm_x300_init_wi2wi(void)
{
int bt_reset, wlan_en;
int err;

if (system_rev < 130) {
Expand All @@ -791,12 +790,11 @@ static void __init cm_x300_init_wi2wi(void)
}

udelay(10);
gpio_set_value(bt_reset, 0);
gpio_set_value(cm_x300_wi2wi_gpios[1].gpio, 0);
udelay(10);
gpio_set_value(bt_reset, 1);
gpio_set_value(cm_x300_wi2wi_gpios[1].gpio, 1);

gpio_free(wlan_en);
gpio_free(bt_reset);
gpio_free_array(ARRAY_AND_SIZE(cm_x300_wi2wi_gpios));
}

/* MFP */
Expand Down

0 comments on commit d50e911

Please sign in to comment.