From patchwork Thu Jan 27 13:09:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajkumar Manoharan X-Patchwork-Id: 512101 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 p0RDAaVs022788 for ; Thu, 27 Jan 2011 13:11:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753268Ab1A0NKc (ORCPT ); Thu, 27 Jan 2011 08:10:32 -0500 Received: from mail.atheros.com ([12.19.149.2]:15300 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753224Ab1A0NK3 (ORCPT ); Thu, 27 Jan 2011 08:10:29 -0500 Received: from mail.atheros.com ([10.10.20.108]) by sidewinder.atheros.com for ; Thu, 27 Jan 2011 05:10:09 -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; Thu, 27 Jan 2011 05:10:27 -0800 Received: by mail.atheros.com (sSMTP sendmail emulation); Thu, 27 Jan 2011 18:39:39 +0530 From: Rajkumar Manoharan To: CC: , Rajkumar Manoharan , , Jack Lee Subject: [PATCH v2 1/2] ath9k_hw: Fix system hang when resuming from S3/S4 Date: Thu, 27 Jan 2011 18:39:37 +0530 Message-ID: <1296133778-3150-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]); Thu, 27 Jan 2011 13:11:06 +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;