mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 11:56:42 +07:00
ath9k: Fix AR9100 chip power-on
AR9100 requires a larger delay after waking up the RTC. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
f57cf939f0
commit
04575f21d9
@ -2012,6 +2012,10 @@ static bool ath9k_hw_set_power_awake(struct ath_hw *ah)
|
|||||||
|
|
||||||
REG_SET_BIT(ah, AR_RTC_FORCE_WAKE,
|
REG_SET_BIT(ah, AR_RTC_FORCE_WAKE,
|
||||||
AR_RTC_FORCE_WAKE_EN);
|
AR_RTC_FORCE_WAKE_EN);
|
||||||
|
|
||||||
|
if (AR_SREV_9100(ah))
|
||||||
|
udelay(10000);
|
||||||
|
else
|
||||||
udelay(50);
|
udelay(50);
|
||||||
|
|
||||||
for (i = POWER_UP_TIME / 50; i > 0; i--) {
|
for (i = POWER_UP_TIME / 50; i > 0; i--) {
|
||||||
|
Loading…
Reference in New Issue
Block a user