From patchwork Wed Jan 19 15:47:42 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajkumar Manoharan X-Patchwork-Id: 488981 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0JEuJDp010815 for ; Wed, 19 Jan 2011 17:35:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752128Ab1ASPsb (ORCPT ); Wed, 19 Jan 2011 10:48:31 -0500 Received: from mail.atheros.com ([12.19.149.2]:56126 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751698Ab1ASPsa (ORCPT ); Wed, 19 Jan 2011 10:48:30 -0500 Received: from mail.atheros.com ([10.10.20.107]) by sidewinder.atheros.com for ; Wed, 19 Jan 2011 07:48:12 -0800 Received: from mail.atheros.com (10.12.4.12) by SC1EXHC-02.global.atheros.com (10.10.20.106) with Microsoft SMTP Server (TLS) id 8.2.213.0; Wed, 19 Jan 2011 07:48:28 -0800 Received: by mail.atheros.com (sSMTP sendmail emulation); Wed, 19 Jan 2011 21:17:44 +0530 From: Rajkumar Manoharan To: CC: Rajkumar Manoharan , Jack Lee Subject: [PATCH 1/2] ath9k_hw: Fix system hang when resuming from S3/S4 Date: Wed, 19 Jan 2011 21:17:42 +0530 Message-ID: <1295452063-13828-1-git-send-email-rmanoharan@atheros.com> X-Mailer: git-send-email 1.7.3.5 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 19 Jan 2011 17:35:02 +0000 (UTC) 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;