From: Vasanthakumar Thiagarajan Date: Wed, 15 Dec 2010 15:30:47 +0000 (-0800) Subject: ath9k_hw: Remove delay during regwrite of analog shift registers X-Git-Tag: MMI-PSA29.97-13-9~21446^2~14^2~3^2~113 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e68b746681289c00e8fd818fdd0144c6896d425;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath9k_hw: Remove delay during regwrite of analog shift registers This is not needed for AR9003. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c index da4a571304da..07b44cec7739 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c @@ -578,10 +578,7 @@ static void ar9003_hw_prog_ini(struct ath_hw *ah, u32 reg = INI_RA(iniArr, i, 0); u32 val = INI_RA(iniArr, i, column); - if (reg >= 0x16000 && reg < 0x17000) - ath9k_hw_analog_shift_regwrite(ah, reg, val); - else - REG_WRITE(ah, reg, val); + REG_WRITE(ah, reg, val); DO_DELAY(regWrites); }