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)
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