ath9k_hw: Fix power on reset
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Mon, 21 Feb 2011 11:37:12 +0000 (17:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Feb 2011 20:40:00 +0000 (15:40 -0500)
Commit "ath9k_hw: add an extra delay when reseting AR_RTC_RESET"
added an extra udelay to the reset routine. As the required
delay is already present, remove this.

Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index f9cf8155181775d8dd913a7b43a495d4bbf70387..9a3438174f862d0bcfbffa44db6046c0d6169434 100644 (file)
@@ -1100,7 +1100,6 @@ static bool ath9k_hw_set_reset_power_on(struct ath_hw *ah)
                REG_WRITE(ah, AR_RC, AR_RC_AHB);
 
        REG_WRITE(ah, AR_RTC_RESET, 0);
-       udelay(2);
 
        REGWRITE_BUFFER_FLUSH(ah);