diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-10-12 08:08:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:05 -0400 |
commit | 746214178774bc7f9adbeaef7d43a634570eb870 (patch) | |
tree | 7a1b6e9875351b89b9abbe9a836ec8c5c805a8ee /drivers/net/wireless/wl12xx/wl1271_ps.c | |
parent | 207347e498cbe25fa2a8369edd49df43e56000be (diff) |
wl1271: Remove outdated SPI functions
With the change to the new firmware, there was a change to firmware memory
partitioning. Along with that change, the translation of all partitions was
unified, and separate functions for reg and mem access became unnecessary.
Cleanup the unnecessary functions.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_ps.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_ps.c b/drivers/net/wireless/wl12xx/wl1271_ps.c index fb821c988661..bb8745d9bd64 100644 --- a/drivers/net/wireless/wl12xx/wl1271_ps.c +++ b/drivers/net/wireless/wl12xx/wl1271_ps.c | |||
@@ -43,7 +43,7 @@ void wl1271_elp_work(struct work_struct *work) | |||
43 | goto out; | 43 | goto out; |
44 | 44 | ||
45 | wl1271_debug(DEBUG_PSM, "chip to elp"); | 45 | wl1271_debug(DEBUG_PSM, "chip to elp"); |
46 | wl1271_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP); | 46 | wl1271_raw_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP); |
47 | wl->elp = true; | 47 | wl->elp = true; |
48 | 48 | ||
49 | out: | 49 | out: |
@@ -86,7 +86,7 @@ int wl1271_ps_elp_wakeup(struct wl1271 *wl, bool chip_awake) | |||
86 | wl->elp_compl = &compl; | 86 | wl->elp_compl = &compl; |
87 | spin_unlock_irqrestore(&wl->wl_lock, flags); | 87 | spin_unlock_irqrestore(&wl->wl_lock, flags); |
88 | 88 | ||
89 | wl1271_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_WAKE_UP); | 89 | wl1271_raw_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_WAKE_UP); |
90 | 90 | ||
91 | if (!pending) { | 91 | if (!pending) { |
92 | ret = wait_for_completion_timeout( | 92 | ret = wait_for_completion_timeout( |