All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ath9k_hw: Fix system hang when resuming from S3/S4
@ 2011-01-19 15:47 Rajkumar Manoharan
  2011-01-19 15:47 ` [PATCH 2/2] ath9k: Fix power save usage count imbalance on deinit Rajkumar Manoharan
  0 siblings, 1 reply; 8+ messages in thread
From: Rajkumar Manoharan @ 2011-01-19 15:47 UTC (permalink / raw)
  To: linux-wireless; +Cc: Rajkumar Manoharan, Jack Lee

The bit 6 & 7 of AR_WA (0x4004) should be enabled only
for the chips that are supporting L0s functionality
while resuming back from S3/S4.

Enabling these bits for AR9280 is causing system hang
within a few S3/S4-resume cycles.

Cc: Jack Lee <jlee@atheros.com>
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
---
 drivers/net/wireless/ath/ath9k/ar9002_hw.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/ar9002_hw.c b/drivers/net/wireless/ath/ath9k/ar9002_hw.c
index f8a7771..f44c84a 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_hw.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_hw.c
@@ -426,9 +426,8 @@ static void ar9002_hw_configpcipowersave(struct ath_hw *ah,
 		}
 
 		/* WAR for ASPM system hang */
-		if (AR_SREV_9280(ah) || AR_SREV_9285(ah) || AR_SREV_9287(ah)) {
+		if (AR_SREV_9285(ah) || AR_SREV_9287(ah))
 			val |= (AR_WA_BIT6 | AR_WA_BIT7);
-		}
 
 		if (AR_SREV_9285E_20(ah))
 			val |= AR_WA_BIT23;
-- 
1.7.3.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-25  5:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-19 15:47 [PATCH 1/2] ath9k_hw: Fix system hang when resuming from S3/S4 Rajkumar Manoharan
2011-01-19 15:47 ` [PATCH 2/2] ath9k: Fix power save usage count imbalance on deinit Rajkumar Manoharan
2011-01-19 19:24   ` Luis R. Rodriguez
2011-01-20  7:51     ` Rajkumar Manoharan
2011-01-20 23:02       ` Luis R. Rodriguez
2011-01-23  7:21         ` Rajkumar Manoharan
2011-01-25  0:03           ` Paul Stewart
2011-01-25  5:10             ` Rajkumar Manoharan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.