Commit 37c3e8b9 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville

ath9k_hw: rename the PA calib routines to match their families

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent af6757e9
...@@ -730,7 +730,7 @@ static void ar9280_hw_olc_temp_compensation(struct ath_hw *ah) ...@@ -730,7 +730,7 @@ static void ar9280_hw_olc_temp_compensation(struct ath_hw *ah)
} }
} }
static void ath9k_hw_9271_pa_cal(struct ath_hw *ah, bool is_reset) static void ar9271_hw_pa_cal(struct ath_hw *ah, bool is_reset)
{ {
u32 regVal; u32 regVal;
unsigned int i; unsigned int i;
...@@ -831,7 +831,7 @@ static void ath9k_hw_9271_pa_cal(struct ath_hw *ah, bool is_reset) ...@@ -831,7 +831,7 @@ static void ath9k_hw_9271_pa_cal(struct ath_hw *ah, bool is_reset)
REG_WRITE(ah, regList[i][0], regList[i][1]); REG_WRITE(ah, regList[i][0], regList[i][1]);
} }
static inline void ath9k_hw_9285_pa_cal(struct ath_hw *ah, bool is_reset) static inline void ar9285_hw_pa_cal(struct ath_hw *ah, bool is_reset)
{ {
struct ath_common *common = ath9k_hw_common(ah); struct ath_common *common = ath9k_hw_common(ah);
u32 regVal; u32 regVal;
...@@ -948,12 +948,12 @@ static void ar9002_hw_pa_cal(struct ath_hw *ah, bool is_reset) ...@@ -948,12 +948,12 @@ static void ar9002_hw_pa_cal(struct ath_hw *ah, bool is_reset)
{ {
if (AR_SREV_9271(ah)) { if (AR_SREV_9271(ah)) {
if (is_reset || !ah->pacal_info.skipcount) if (is_reset || !ah->pacal_info.skipcount)
ath9k_hw_9271_pa_cal(ah, is_reset); ar9271_hw_pa_cal(ah, is_reset);
else else
ah->pacal_info.skipcount--; ah->pacal_info.skipcount--;
} else if (AR_SREV_9285_11_OR_LATER(ah)) { } else if (AR_SREV_9285_11_OR_LATER(ah)) {
if (is_reset || !ah->pacal_info.skipcount) if (is_reset || !ah->pacal_info.skipcount)
ath9k_hw_9285_pa_cal(ah, is_reset); ar9285_hw_pa_cal(ah, is_reset);
else else
ah->pacal_info.skipcount--; ah->pacal_info.skipcount--;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment