Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314137
b: refs/heads/master
c: 4a6c789
h: refs/heads/master
i:
  314135: 43b125e
v: v3
  • Loading branch information
Yoni Divinsky authored and Luciano Coelho committed Jun 5, 2012
1 parent c53dfa3 commit 2e24dc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 2e42c203a9a825d04da400bd45b601f94c0cf362
refs/heads/master: 4a6c789b731a095da745d513f9ea0b5531acc9c7
12 changes: 6 additions & 6 deletions trunk/drivers/net/wireless/ti/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ static int wl12xx_pre_boot(struct wl1271 *wl)

static void wl12xx_pre_upload(struct wl1271 *wl)
{
u32 tmp;
u32 tmp, polarity;

/* write firmware's last address (ie. it's length) to
* ACX_EEPROMLESS_IND_REG */
Expand All @@ -1015,18 +1015,18 @@ static void wl12xx_pre_upload(struct wl1271 *wl)

if (wl->chip.id == CHIP_ID_1283_PG20)
wl12xx_top_reg_write(wl, SDIO_IO_DS, HCI_IO_DS_6MA);
}

static void wl12xx_enable_interrupts(struct wl1271 *wl)
{
u32 polarity;

/* polarity must be set before the firmware is loaded */
polarity = wl12xx_top_reg_read(wl, OCP_REG_POLARITY);

/* We use HIGH polarity, so unset the LOW bit */
polarity &= ~POLARITY_LOW;
wl12xx_top_reg_write(wl, OCP_REG_POLARITY, polarity);

}

static void wl12xx_enable_interrupts(struct wl1271 *wl)
{
wlcore_write_reg(wl, REG_INTERRUPT_MASK, WL1271_ACX_ALL_EVENTS_VECTOR);

wlcore_enable_interrupts(wl);
Expand Down

0 comments on commit 2e24dc4

Please sign in to comment.