Skip to content

Commit

Permalink
ath9k_hw: Fix PLL initialization for AR9485.
Browse files Browse the repository at this point in the history
Increase the delay to make sure the initialization of pll
passes.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Vivek Natarajan authored and John W. Linville committed Mar 11, 2011
1 parent 7ea1362 commit 75e0351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ static void ath9k_hw_init_pll(struct ath_hw *ah,
AR_CH0_DPLL3_PHASE_SHIFT, DPLL3_PHASE_SHIFT_VAL);

REG_WRITE(ah, AR_RTC_PLL_CONTROL, 0x1142c);
udelay(100);
udelay(1000);

REG_WRITE(ah, AR_RTC_PLL_CONTROL2, 0x886666);

Expand All @@ -713,7 +713,7 @@ static void ath9k_hw_init_pll(struct ath_hw *ah,
REG_RMW_FIELD(ah, AR_CH0_BB_DPLL3,
AR_CH0_DPLL3_PHASE_SHIFT, DPLL3_PHASE_SHIFT_VAL);
REG_WRITE(ah, AR_RTC_PLL_CONTROL, 0x142c);
udelay(110);
udelay(1000);
}

pll = ath9k_hw_compute_pll_control(ah, chan);
Expand Down

0 comments on commit 75e0351

Please sign in to comment.