On Sun, Jul 29, 2012 at 8:25 PM, Alan Stern <st...@rowland.harvard.edu> wrote: > > For me there's also an issue of style: If you do a synchronous get then it > looks odd not to do a synchronous put. My feeling has always been that > the async routines are for use in non-process contexts, where the sync > routines can't be used. Using them just to return a little more > quickly is a foreign idea. > Another way of looking at it is - I need h/w to be active in order to proceed so I call get_sync but I don't care if the h/w is not put down immediately after I am done using it. So the put could be relaxed/async - At best, we could avoid an unnecessary suspend-resume cycle which could be expensive power and time wise. At worst, we return a bit quicker. Or so do I think. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Rafael J. Wysocki
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Alan Stern
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Rafael J. Wysocki
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Alan Stern
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Rafael J. Wysocki
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Alan Stern
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Ming Lei
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Alan Stern
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Alan Stern
- Re: Do we need asynchronous pm_runtime_get()? (was: Re: ... Rafael J. Wysocki
- Re: bisected regression, v3.5 -> next-20120724: PCI P... Jassi Brar
- Re: bisected regression, v3.5 -> next-20120724: PCI P... Alan Stern
- [PATCH] PCI / PM: Fix messages printed by acpi_pci_set_p... Rafael J. Wysocki
- Re: [PATCH] PCI / PM: Fix messages printed by acpi_pci_s... Alan Stern
- [PATCH][update] PCI / PM: Fix messages printed by acpi_p... Rafael J. Wysocki