ath9k_hw: Remove delay during regwrite of analog shift registers
Vasanthakumar Thiagarajan [Wed, 15 Dec 2010 15:30:47 +0000 (07:30 -0800)]
This is not needed for AR9003.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

drivers/net/wireless/ath/ath9k/ar9003_phy.c

index da4a571..07b44ce 100644 (file)
@@ -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);
        }