]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wl1271: Changed access to fw status register to use raw read
authorTeemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Mon, 22 Feb 2010 06:38:28 +0000 (08:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Mar 2010 20:02:59 +0000 (15:02 -0500)
Changed access to fw status register to use raw read instead of
translated addressing. On SDIO access by translated addressing was not
working and raw access is working also on SPI.

Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_main.c

index ea49cede4cb1b0705736e5d6865f13abdd4c0211..310f58c66231b6771de0ed318a1a080a851475fb 100644 (file)
@@ -377,7 +377,7 @@ static void wl1271_fw_status(struct wl1271 *wl,
        u32 total = 0;
        int i;
 
-       wl1271_read(wl, FW_STATUS_ADDR, status, sizeof(*status), false);
+       wl1271_raw_read(wl, FW_STATUS_ADDR, status, sizeof(*status), false);
 
        wl1271_debug(DEBUG_IRQ, "intr: 0x%x (fw_rx_counter = %d, "
                     "drv_rx_counter = %d, tx_results_counter = %d)",