projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57cf93
)
ath9k: Fix AR9100 chip power-on
author
Sujith Manoharan
<
[email protected]
>
Sat, 28 Dec 2013 04:17:13 +0000
(09:47 +0530)
committer
John W. Linville
<
[email protected]
>
Fri, 3 Jan 2014 20:36:58 +0000
(15:36 -0500)
AR9100 requires a larger delay after waking up
the RTC.
Signed-off-by: Sujith Manoharan <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/hw.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/hw.c
b/drivers/net/wireless/ath/ath9k/hw.c
index 3f9cac9231f376db9fe5119d74655155e08344b8..e0e1bdea4cd8ca3e9c5f7918b84df96d3e0333ea 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/hw.c
+++ b/
drivers/net/wireless/ath/ath9k/hw.c
@@
-2012,7
+2012,11
@@
static bool ath9k_hw_set_power_awake(struct ath_hw *ah)
REG_SET_BIT(ah, AR_RTC_FORCE_WAKE,
AR_RTC_FORCE_WAKE_EN);
- udelay(50);
+
+ if (AR_SREV_9100(ah))
+ udelay(10000);
+ else
+ udelay(50);
for (i = POWER_UP_TIME / 50; i > 0; i--) {
val = REG_READ(ah, AR_RTC_STATUS) & AR_RTC_STATUS_M;