ath9k: use REG_RMW and rmw buffer in ath9k_hw_4k_set_gain
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 22 Mar 2015 18:30:01 +0000 (19:30 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Mar 2015 08:31:39 +0000 (11:31 +0300)
commit2dfc0247f0ff755296ab72ab3ddb8309fb35c660
tree5a16625cca80546555b2ac53ede0d10e1402483f
parentad10e0d65030d39c218e96f7e5269b301913b477
ath9k: use REG_RMW and rmw buffer in ath9k_hw_4k_set_gain

it is possible to reduce time needed for this function
by rplacing REG_WRITE with REG_RMW (plus dummy 0) and putt all commands
in same buffer.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/eeprom_4k.c