Return-path: Received: from ogre.sisk.pl ([217.79.144.158]:52692 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754079Ab0JPUDx (ORCPT ); Sat, 16 Oct 2010 16:03:53 -0400 From: "Rafael J. Wysocki" To: "Luis R. Rodriguez" Subject: Re: [PATCH] ath9k: Convert to new PCI PM framework Date: Sat, 16 Oct 2010 22:02:52 +0200 Cc: LKML , "Linux-pm mailing list" , linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org References: <201010160036.17653.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Message-Id: <201010162202.52766.rjw@sisk.pl> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Saturday, October 16, 2010, Luis R. Rodriguez wrote: > On Fri, Oct 15, 2010 at 3:36 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The ath9k driver uses the legacy PCI power management (suspend > > and resume) callbacks that apparently cause intermittent problems > > to happen (the adapter sometimes doesn't resume correctly on my > > Acer Ferrari One). Make it use the new PCI PM and let the PCI core > > code handle the PCI-specific details of power transitions. > > > > Signed-off-by: Rafael J. Wysocki > > Do you know when these hooks were added? Well, which ones? If you're asking about the new framework, it's been there since 2.6.29 and is a recommended way of implementing PM hooks now. Please have a look at Documentation/power/pci.txt. :-) > If it fixes an issue should this go for stable? I'm not 100% sure it fixes everything yet, although I hasn't been able to reproduce the problem with it applied, so far. So, I don't think it's -stable material at this point. However, it should be done anyway at one point, so it very well can be done right now, given that I have the hardware to test it. :-) Thanks, Rafael