wl12xx: add wl12xx_spi_reg_read() and wl12xx_spi_reg_write() functions
authorLuciano Coelho <luciano.coelho@nokia.com>
Fri, 12 Jun 2009 11:15:22 +0000 (14:15 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:45 +0000 (14:57 -0400)
commita336e266640cd9f7be96b14ff09bbb37dfa646de
tree4640c8d77eb387dbb2306577e5c09c50e96afea5
parent0628817accc305201fc0e1b7f020dec618c868cc
wl12xx: add wl12xx_spi_reg_read() and wl12xx_spi_reg_write() functions

In some cases we need to read more than 32 bits from the register area.
These functions were added to support that, like the existing
wl12xx_spi_mem_read() and wl12xx_spi_mem_write() already do for large blocks
in the memory area.

Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/spi.c
drivers/net/wireless/wl12xx/spi.h