Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184475
b: refs/heads/master
c: 9b28072
h: refs/heads/master
i:
  184473: fdffbfa
  184471: fa6ebd1
v: v3
  • Loading branch information
Teemu Paasikivi authored and John W. Linville committed Feb 19, 2010
1 parent 174bbaa commit e16f7c5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 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: 7b048c52d7283ebf07c826a45c631a6ba225c057
refs/heads/master: 9b28072220d56fda3249cb7e4e164038b456414d
10 changes: 10 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/wl1271_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ int wl1271_set_partition(struct wl1271 *wl,
return 0;
}

void wl1271_io_reset(struct wl1271 *wl)
{
wl1271_spi_reset(wl);
}

void wl1271_io_init(struct wl1271 *wl)
{
wl1271_spi_init(wl);
}

void wl1271_raw_write(struct wl1271 *wl, int addr, void *buf,
size_t len, bool fixed)
{
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/wl1271_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

struct wl1271;

void wl1271_io_reset(struct wl1271 *wl);
void wl1271_io_init(struct wl1271 *wl);

/* Raw target IO, address is not translated */
void wl1271_raw_write(struct wl1271 *wl, int addr, void *buf,
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,8 @@ static int wl1271_chip_wakeup(struct wl1271 *wl)
msleep(WL1271_PRE_POWER_ON_SLEEP);
wl1271_power_on(wl);
msleep(WL1271_POWER_ON_SLEEP);
wl1271_spi_reset(wl);
wl1271_spi_init(wl);
wl1271_io_reset(wl);
wl1271_io_init(wl);

/* We don't need a real memory partition here, because we only want
* to use the registers at this point. */
Expand Down

0 comments on commit e16f7c5

Please sign in to comment.