Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:43069 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755208Ab1K0BQd (ORCPT ); Sat, 26 Nov 2011 20:16:33 -0500 MIME-Version: 1.0 In-Reply-To: <201111262337.43771.rjw@sisk.pl> References: <201111250203.29786.rjw@sisk.pl> <201111262232.46195.rjw@sisk.pl> <201111262337.43771.rjw@sisk.pl> Date: Sun, 27 Nov 2011 09:16:32 +0800 Message-ID: (sfid-20111127_021648_798130_42A2BCA7) Subject: Re: [PATCH] ath9k: Revert change that broke AR928X on Acer Ferrari One From: Adrian Chadd To: "Rafael J. Wysocki" Cc: Senthil Balasubramanian , "Luis R. Rodriguez" , "John W. Linville" , Linus Torvalds , Linux Kernel Mailing List , Linux Wireless Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hm, considering the origina patch did this: /* Clear Bit 14 of AR_WA after putting chip into Full Sleep mode. */ - if (AR_SREV_9300_20_OR_LATER(ah)) - REG_WRITE(ah, AR_WA, - ah->WARegVal & ~AR_WA_D3_L1_DISABLE); + if (!AR_SREV_9480(ah)) + REG_WRITE(ah, AR_WA, ah->WARegVal & ~AR_WA_D3_L1_DISABLE); .. something tells me that perhaps the correct statement is: if (AR_SREV_9300_20_OR_LATER(ah) && !AR_SREV_9480(ah)) REG_WRITE() ... ? Adrian