ath9k_hw: Remove delay during regwrite of analog shift registers
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Wed, 15 Dec 2010 15:30:47 +0000 (07:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Dec 2010 20:22:30 +0000 (15:22 -0500)
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 da4a571304dacf0ef682773083b64f75bb3ecbc2..07b44cec7739699fc770a24764f622f9ee82d016 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);
        }