Return-path: Received: from netrider.rowland.org ([192.131.102.5]:55919 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932231Ab0LRVaT (ORCPT ); Sat, 18 Dec 2010 16:30:19 -0500 Date: Sat, 18 Dec 2010 16:30:18 -0500 (EST) From: Alan Stern To: Ohad Ben-Cohen cc: Linux-pm mailing list , "Rafael J. Wysocki" , , Ido Yariv , , Johannes Berg Subject: Re: [linux-pm] subtle pm_runtime_put_sync race and sdio functions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sat, 18 Dec 2010, Ohad Ben-Cohen wrote: > > Sounds to me like the difference isn't really in the driver, but the > > core PM subsystem. Why does it care when powering off a device whether > > it's during suspend, or during runtime? > > Agree. > > If we can add a dev_pm_info bit, that would allow using runtime PM API > during suspend/resume transitions, the driver will not have to care. > > Rafael what do you think ? Is that totally unacceptable ? Have you forgotten about the "echo on >.../power/control" scenario? Alan Stern