From: Gabor Juhos Date: Tue, 21 Jun 2011 09:23:39 +0000 (+0200) Subject: ath9k: configure xpa bias level for AR9330 X-Git-Tag: MMI-PSA29.97-13-9~18350^2~12^2~42^2~350 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc9aa5fc283c79e9aa8d9d1c537d203081634bb1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath9k: configure xpa bias level for AR9330 Signed-off-by: Gabor Juhos Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c index 5457bd6e524b..7ea5105764d0 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c @@ -3444,7 +3444,7 @@ static void ar9003_hw_xpa_bias_level_apply(struct ath_hw *ah, bool is2ghz) { int bias = ar9003_hw_xpa_bias_level_get(ah, is2ghz); - if (AR_SREV_9485(ah) || AR_SREV_9340(ah)) + if (AR_SREV_9485(ah) || AR_SREV_9330(ah) || AR_SREV_9340(ah)) REG_RMW_FIELD(ah, AR_CH0_TOP2, AR_CH0_TOP2_XPABIASLVL, bias); else { REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias);