summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-04-14 04:40:11 +0000
committeradrian <adrian@FreeBSD.org>2012-04-14 04:40:11 +0000
commit62fe709d3aeaee814be42050c6ef0eff2be85b9f (patch)
tree5dcb5802ef16a4ad9ca8f7461af56e73dd1b41e8
parent6012fb8ec2be40c571b24198e4be16174a3fc60f (diff)
downloadFreeBSD-src-62fe709d3aeaee814be42050c6ef0eff2be85b9f.zip
FreeBSD-src-62fe709d3aeaee814be42050c6ef0eff2be85b9f.tar.gz
Both linux ath9k and the reference driver initialises the PLL here
during chip wakeup. Obtained from: Linux ath9k, Atheros
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_power.c b/sys/dev/ath/ath_hal/ar5416/ar5416_power.c
index 2d8c7f9..43a9241 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_power.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_power.c
@@ -50,6 +50,7 @@ ar5416SetPowerModeAwake(struct ath_hal *ah, int setChip)
& AR_RTC_PM_STATUS_M) == AR_RTC_STATUS_SHUTDOWN) {
if (!ar5416SetResetReg(ah, HAL_RESET_POWER_ON))
goto bad;
+ AH5416(ah)->ah_initPLL(ah, AH_NULL);
}
if (AR_SREV_HOWL(ah))
OpenPOWER on IntegriCloud