From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH V2 0/4] introduce device async actions mechanism Date: Thu, 13 Aug 2009 19:53:10 +0200 Message-ID: <200908131953.10819.rjw@sisk.pl> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ogre.sisk.pl ([217.79.144.158]:35667 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754463AbZHMRwb (ORCPT ); Thu, 13 Aug 2009 13:52:31 -0400 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Alan Stern Cc: Zhang Rui , Linux Kernel Mailing List , linux-pm , linux-acpi , Pavel Machek , Len Brown , Arjan van de Ven , "dtor@mail.ru" On Thursday 13 August 2009, Alan Stern wrote: > On Wed, 12 Aug 2009, Rafael J. Wysocki wrote: > > > On a second thought, though, would it be a good idea to add > > pm_runtime_get_noresume() / pm_runtime_put_sync() around the bus_for_each_drv() > > in device_attach()? That would prevent us from resuming-suspending the device > > on each failing probe. > > Good idea. But don't remove the existing code in driver_probe_device. Sure. OK, I'll make this change and post rev. 16 shortly. Thanks, Rafael